io_uring: make IORING_OP_CANCEL_ASYNC deferrable
authorJens Axboe <axboe@kernel.dk>
Wed, 18 Dec 2019 01:45:56 +0000 (18:45 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 18 Dec 2019 02:57:27 +0000 (19:57 -0700)
commitfbf23849b1724d3ea362e346d0877a8d87978fe6
treebeb6e22672284ce899befd7ce487c8533b5258ce
parent0969e783e3a8913f79df27286501a6c21e961524
io_uring: make IORING_OP_CANCEL_ASYNC deferrable

If we defer this command as part of a link, we have to make sure that
the SQE data has been read upfront. Integrate the async cancel op into
the prep handling to make it safe for SQE reuse.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c