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 5641897 commit ab1dab9Copy full SHA for ab1dab9
fs/io_uring.c
@@ -5485,7 +5485,6 @@ static bool __io_poll_complete(struct io_kiocb *req, __poll_t mask)
5485
static void io_poll_task_func(struct io_kiocb *req, bool *locked)
5486
{
5487
struct io_ring_ctx *ctx = req->ctx;
5488
- struct io_kiocb *nxt;
5489
5490
if (io_poll_rewait(req, &req->poll)) {
5491
spin_unlock(&ctx->completion_lock);
@@ -5509,11 +5508,8 @@ static void io_poll_task_func(struct io_kiocb *req, bool *locked)
5509
5508
5510
io_cqring_ev_posted(ctx);
5511
5512
- if (done) {
5513
- nxt = io_put_req_find_next(req);
5514
- if (nxt)
5515
- io_req_task_submit(nxt, locked);
5516
- }
+ if (done)
+ io_put_req(req);
5517
}
5518
5519
0 commit comments