Skip to content

Commit 8de11cd

Browse files
Dylan Yudakenaxboe
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
1 parent cc767e7 commit 8de11cd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

io_uring/io_uring.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1446,8 +1446,7 @@ static int io_iopoll_check(struct io_ring_ctx *ctx, long min)
14461446
io_task_work_pending(ctx)) {
14471447
u32 tail = ctx->cached_cq_tail;
14481448

1449-
if (!llist_empty(&ctx->work_llist))
1450-
__io_run_local_work(ctx, true);
1449+
(void) io_run_local_work_locked(ctx);
14511450

14521451
if (task_work_pending(current) ||
14531452
wq_list_empty(&ctx->iopoll_list)) {

0 commit comments

Comments
 (0)