summaryrefslogtreecommitdiffstats
path: root/fs/io_uring.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/io_uring.c')
-rw-r--r--fs/io_uring.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/fs/io_uring.c b/fs/io_uring.c
index 95deb45e89cf..f6f5871bd7d2 100644
--- a/fs/io_uring.c
+++ b/fs/io_uring.c
@@ -903,16 +903,7 @@ static void io_req_link_next(struct io_kiocb *req, struct io_kiocb **nxtptr)
nxt->flags |= REQ_F_LINK;
}
- /*
- * If we're in async work, we can continue processing the chain
- * in this context instead of having to queue up new async work.
- */
- if (nxt) {
- if (io_wq_current_is_worker())
- *nxtptr = nxt;
- else
- io_queue_async_work(nxt);
- }
+ *nxtptr = nxt;
break;
}