io_uring: add IORING_ASYNC_CANCEL_FD_FIXED cancel flag
authorJens Axboe <axboe@kernel.dk>
Sat, 18 Jun 2022 15:47:04 +0000 (09:47 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Jul 2022 14:46:49 +0000 (08:46 -0600)
commita2530ece66e0461bf4d10c4d3404a4e4dbedc45b
tree83edf136e436eee93f703406c040e828e7771cf1
parent03538a047e927b2fe17cf467e91273251478f772
io_uring: add IORING_ASYNC_CANCEL_FD_FIXED cancel flag

In preparation for not having a request to pass in that carries this
state, add a separate cancelation flag that allows the caller to ask
for a fixed file for cancelation.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/uapi/linux/io_uring.h
io_uring/cancel.c