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 69a0bbc commit 3cf005dCopy full SHA for 3cf005d
io_uring/rw.c
@@ -1061,6 +1061,8 @@ int io_read_mshot(struct io_kiocb *req, unsigned int issue_flags)
1061
io_kbuf_recycle(req, issue_flags);
1062
if (ret < 0)
1063
req_set_fail(req);
1064
+ } else if (!(req->flags & REQ_F_APOLL_MULTISHOT)) {
1065
+ cflags = io_put_kbuf(req, ret, issue_flags);
1066
} else {
1067
/*
1068
* Any successful return value will keep the multishot read
0 commit comments