Commit e5dc480
io_uring: remove not needed PF_EXITING check
Since cancellation got moved before exit_signals(), there is no one left
who can call io_run_task_work() with PF_EXIING set, so remove the check.
Note that __io_req_task_submit() still needs a similar check.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/f7f305ececb1e6044ea649fb983ca754805bb884.1624739600.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent dd432ea commit e5dc480
1 file changed
Lines changed: 2 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2235 | 2235 | | |
2236 | 2236 | | |
2237 | 2237 | | |
2238 | | - | |
2239 | | - | |
2240 | | - | |
2241 | | - | |
2242 | | - | |
2243 | | - | |
2244 | 2238 | | |
2245 | 2239 | | |
2246 | 2240 | | |
| |||
9020 | 9014 | | |
9021 | 9015 | | |
9022 | 9016 | | |
9023 | | - | |
| 9017 | + | |
| 9018 | + | |
9024 | 9019 | | |
9025 | 9020 | | |
9026 | 9021 | | |
| |||
0 commit comments