io_uring: remove req cancel in ->flush()
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 22 Oct 2020 15:38:27 +0000 (16:38 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 22 Oct 2020 15:54:19 +0000 (09:54 -0600)
commitc8fb20b5b4206e9206ea8f129aa4592ad15918bd
tree1c358231e38340aa34a62eeef4777cb8699dd632
parent43c01fbefdf110e8713d6c0ff71055f06b9888a0
io_uring: remove req cancel in ->flush()

Every close(io_uring) causes cancellation of all inflight requests
carrying ->files. That's not nice but was neccessary up until recently.
Now task->files removal is handled in the core code, so that part of
flush can be removed.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c