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>
Wed, 22 Jun 2022 17:33:16 +0000 (11:33 -0600)
commit2ff5ffc5cd347fe3087d0274a2a70d344b82e5f6
tree3beade6aa82d59c19249c4b692044edce6ee7e01
parent6862ab36f84b84e4893dfc9504a5ae988bd425a1
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