Commit 81b6d05
io_uring: synchronise IOPOLL on task_submit fail
io_req_task_submit() might be called for IOPOLL, do the fail path under
uring_lock to comply with IOPOLL synchronisation based solely on it.
Cc: stable@vger.kernel.org # 5.5+
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent b1b6b5a commit 81b6d05
1 file changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2126 | 2126 | | |
2127 | 2127 | | |
2128 | 2128 | | |
| 2129 | + | |
2129 | 2130 | | |
2130 | | - | |
2131 | | - | |
2132 | | - | |
| 2131 | + | |
| 2132 | + | |
| 2133 | + | |
| 2134 | + | |
2133 | 2135 | | |
2134 | | - | |
2135 | | - | |
| 2136 | + | |
2136 | 2137 | | |
2137 | | - | |
| 2138 | + | |
2138 | 2139 | | |
2139 | 2140 | | |
2140 | 2141 | | |
| |||
0 commit comments