summaryrefslogtreecommitdiff
path: root/io_uring/uring_cmd.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-03-16 00:37:15 +0300
committerJens Axboe <axboe@kernel.dk>2024-03-16 00:37:15 +0300
commit30dab608c3cb99c2a05b76289fd05551703979ae (patch)
tree5131364d2c6c083861bc1f081e8ba709dec8bdc2 /io_uring/uring_cmd.c
parent5e3afe580a9f5ca173a6bd55ffe10948796ef7e5 (diff)
downloadlinux-30dab608c3cb99c2a05b76289fd05551703979ae.tar.xz
io_uring/futex: always remove futex 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 futex list upfront. This is important for remove all conditions, as we otherwise will find it multiple times and prevent cancelation progress. Cc: stable@vger.kernel.org Fixes: 194bb58c6090 ("io_uring: add support for futex wake and wait") Fixes: 8f350194d5cf ("io_uring: add support for vectored futex waits") Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/uring_cmd.c')
0 files changed, 0 insertions, 0 deletions