commit | 94dbb87fc0b25285a0eba2350f77316063151be5 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Mon Jan 04 20:43:29 2021 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jan 19 18:27:25 2021 +0100 |
tree | 194f56a27e4d7041faa20b670c01c66753166f57 | |
parent | 501e1875da3237a876f8d09e1a286ec2ff83d4fe [diff] |
io_uring: drop file refs after task cancel [ Upstream commit de7f1d9e99d8b99e4e494ad8fcd91f0c4c5c9357 ] io_uring fds marked O_CLOEXEC and we explicitly cancel all requests before going through exec, so we don't want to leave task's file references to not our anymore io_uring instances. 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>