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

io_uring/cancel: fix sequence matching for IORING_ASYNC_CANCEL_ANY



We always need to check/update the cancel sequence if
IORING_ASYNC_CANCEL_ALL is set. Also kill the redundant check for
IORING_ASYNC_CANCEL_ANY at the end, if we get here we know it's
not set as we would've matched it higher up.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent aa5cd116
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