diff options
author | Dylan Yudaken <dylany@meta.com> | 2022-10-27 17:44:28 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-10-27 18:51:47 +0300 |
commit | 8de11cdc96bf58b324c59a28512eb9513fd02553 (patch) | |
tree | a07f4a9037d27404cb0b772e0e13851906623aef /io_uring | |
parent | cc767e7c6913f770741d9fad1efa4957c2623744 (diff) | |
download | linux-8de11cdc96bf58b324c59a28512eb9513fd02553.tar.xz |
io_uring: use io_run_local_work_locked helper
prefer to use io_run_local_work_locked helper for consistency
Signed-off-by: Dylan Yudaken <dylany@meta.com>
Link: https://lore.kernel.org/r/20221027144429.3971400-2-dylany@meta.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring')
-rw-r--r-- | io_uring/io_uring.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c index 6cc16e39b27f..8a0ce7379e89 100644 --- a/io_uring/io_uring.c +++ b/io_uring/io_uring.c @@ -1446,8 +1446,7 @@ static int io_iopoll_check(struct io_ring_ctx *ctx, long min) io_task_work_pending(ctx)) { u32 tail = ctx->cached_cq_tail; - if (!llist_empty(&ctx->work_llist)) - __io_run_local_work(ctx, true); + (void) io_run_local_work_locked(ctx); if (task_work_pending(current) || wq_list_empty(&ctx->iopoll_list)) { |