summaryrefslogtreecommitdiff
path: root/io_uring/uring_cmd.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-03-16 00:42:49 +0300
committerJens Axboe <axboe@kernel.dk>2024-03-16 00:42:49 +0300
commit2b35b8b43e07b1a6f06fdd84cf4b9eb24785896d (patch)
tree12c8b30e3d549124b0d53b332244aba917482a6a /io_uring/uring_cmd.c
parent30dab608c3cb99c2a05b76289fd05551703979ae (diff)
downloadlinux-2b35b8b43e07b1a6f06fdd84cf4b9eb24785896d.tar.xz
io_uring/waitid: always remove waitid entry for cancel all
We know the request is either being removed, or already in the process of being removed through task_work, so we can delete it from our waitid list upfront. This is important for remove all conditions, as we otherwise will find it multiple times and prevent cancelation progress. Remove the dead check in cancelation as well for the hash_node being empty or not. We already have a waitid reference check for ownership, so we don't need to check the list too. Cc: stable@vger.kernel.org Fixes: f31ecf671ddc ("io_uring: add IORING_OP_WAITID support") Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/uring_cmd.c')
0 files changed, 0 insertions, 0 deletions