We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1c85fb commit c4cd906Copy full SHA for c4cd906
io_uring/rw.c
@@ -984,6 +984,8 @@ int io_read_mshot(struct io_kiocb *req, unsigned int issue_flags)
984
io_kbuf_recycle(req, issue_flags);
985
if (ret < 0)
986
req_set_fail(req);
987
+ } else if (!(req->flags & REQ_F_APOLL_MULTISHOT)) {
988
+ cflags = io_put_kbuf(req, ret, issue_flags);
989
} else {
990
/*
991
* Any successful return value will keep the multishot read
0 commit comments