io_uring: get rid of files in exit cancel
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 16 May 2021 21:58:04 +0000 (22:58 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 14 Jun 2021 14:23:04 +0000 (08:23 -0600)
commit3dd0c97a9e011b11ce6bd245bacf58c57f6f7875
treed12ae86e20f7a1c560de67d7fbb42dd8d018d298
parentacfb381d9d714c657ff540099fa5a6fa98e71f07
io_uring: get rid of files in exit cancel

We don't match against files on cancellation anymore, so no need to drag
around files_struct anymore, just pass a flag telling whether only
inflight or all requests should be killed.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/7bfc5409a78f8e2d6b27dec3293ec2d248677348.1621201931.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c