Repository navigation
Commit 94dbb87
io_uring: drop file refs after task cancel
[ Upstream commit de7f1d9 ]
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>1 parent 501e187 commit 94dbb87
1 file changed
Lines changed: 16 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8821 | 8821 | | |
8822 | 8822 | | |
8823 | 8823 | | |
| 8824 | + | |
| 8825 | + | |
| 8826 | + | |
| 8827 | + | |
| 8828 | + | |
| 8829 | + | |
| 8830 | + | |
| 8831 | + | |
| 8832 | + | |
8824 | 8833 | | |
8825 | 8834 | | |
8826 | 8835 | | |
| |||
8829 | 8838 | | |
8830 | 8839 | | |
8831 | 8840 | | |
8832 | | - | |
8833 | | - | |
8834 | | - | |
8835 | | - | |
8836 | | - | |
8837 | | - | |
8838 | | - | |
8839 | | - | |
8840 | | - | |
| 8841 | + | |
| 8842 | + | |
8841 | 8843 | | |
| 8844 | + | |
| 8845 | + | |
| 8846 | + | |
8842 | 8847 | | |
8843 | 8848 | | |
8844 | 8849 | | |
| |||
8901 | 8906 | | |
8902 | 8907 | | |
8903 | 8908 | | |
| 8909 | + | |
| 8910 | + | |
8904 | 8911 | | |
8905 | 8912 | | |
8906 | 8913 | | |
| |||
0 commit comments