commit | a773dea1a9f2e55cc1c5d145d238630d7d69609a | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Fri Nov 06 13:00:23 2020 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Dec 30 11:53:59 2020 +0100 |
tree | 5dc2d014207f51199dcbbb7b1e0b75214b8d5df2 | |
parent | 4b148744090bef856269f4cd1856f3d16ac9f276 [diff] |
io_uring: cancel only requests of current task [ Upstream commit df9923f96717d0aebb0a73adbcf6285fa79e38cb ] io_uring_cancel_files() cancels all request that match files regardless of task. There is no real need in that, cancel only requests of the specified task. That also handles SQPOLL case as it already changes task to it. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <sashal@kernel.org>