summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-02-28 20:22:37 +0100
committerJens Axboe <axboe@kernel.dk>2021-03-04 14:36:28 +0100
commit914390bcfdd6351a4d308da7f43294476ea7d3bf (patch)
tree49cbc3db2ce7fbbb7fd8f67b28be7cee6e1ded76 /fs
parentio_uring: move cred assignment into io_issue_sqe() (diff)
downloadlinux-914390bcfdd6351a4d308da7f43294476ea7d3bf.tar.xz
linux-914390bcfdd6351a4d308da7f43294476ea7d3bf.zip
io_uring: kill unnecessary io_run_ctx_fallback() in io_ring_exit_work()
We already run the fallback task_work in io_uring_try_cancel_requests(), no need to duplicate at ring exit explicitly. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs')
-rw-r--r--fs/io_uring.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/io_uring.c b/fs/io_uring.c
index d48be0ccc590..7cad82b51eca 100644
--- a/fs/io_uring.c
+++ b/fs/io_uring.c
@@ -8519,7 +8519,6 @@ static void io_ring_exit_work(struct work_struct *work)
*/
do {
io_uring_try_cancel_requests(ctx, NULL, NULL);
- io_run_ctx_fallback(ctx);
} while (!wait_for_completion_timeout(&ctx->ref_comp, HZ/20));
io_ring_ctx_free(ctx);
}