Skip to content
Commit ccbf7261 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: perform poll removal even if async work removal is successful



An active work can have poll armed, hence it's not enough to just do
the async work removal and return the value if it's different from "not
found". Rather than make poll removal special, just fall through to do
the remaining type lookups and removals.

Reported-by: default avatarFlorian Fischer <florian.fl.fischer@fau.de>
Link: https://lore.kernel.org/io-uring/20220118151337.fac6cthvbnu7icoc@pasture/


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 361aee45
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment