]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb8ca570f0f5e57e6b16258ac7d1609a4769b34d5
treed12ae86e20f7a1c560de67d7fbb42dd8d018d298
parent7c13b7401d145cb1c074b209b79b38fbe9b3b913
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