Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 22537c9f authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: use the right type for work_llist empty check

io_task_work_pending() uses wq_list_empty() on ctx->work_llist, but it's
not an io_wq_work_list, it's a struct llist_head. They both have
->first as head-of-list, and it turns out the checks are identical. But
be proper and use the right helper.

Fixes: dac6a0ea

 ("io_uring: ensure iopoll runs local task work as well")
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent a80929d1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment