Commit ccbf726
committed
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: Florian Fischer <florian.fl.fischer@fau.de>
Link: https://lore.kernel.org/io-uring/20220118151337.fac6cthvbnu7icoc@pasture/
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent 361aee4 commit ccbf726
1 file changed
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6386 | 6386 | | |
6387 | 6387 | | |
6388 | 6388 | | |
6389 | | - | |
6390 | | - | |
| 6389 | + | |
| 6390 | + | |
| 6391 | + | |
| 6392 | + | |
| 6393 | + | |
| 6394 | + | |
6391 | 6395 | | |
6392 | 6396 | | |
| 6397 | + | |
| 6398 | + | |
| 6399 | + | |
| 6400 | + | |
6393 | 6401 | | |
6394 | 6402 | | |
6395 | 6403 | | |
6396 | | - | |
6397 | | - | |
6398 | | - | |
6399 | 6404 | | |
6400 | 6405 | | |
6401 | 6406 | | |
| |||
0 commit comments