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>
Mon, 25 Jul 2022 00:39:15 +0000 (18:39 -0600)
commit7d8ca7250197096bfa9f432c1d99b0555504bbba
treed89bb366d830adc72fa28689dd8b3e9d56c44ab3
parent88f52eaad2df2cb5ab49b864d79398c9cb9a57f2
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