]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: remove not needed PF_EXITING check
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 26 Jun 2021 20:40:46 +0000 (21:40 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 30 Jun 2021 20:15:40 +0000 (14:15 -0600)
commitd758f46668653666cb9faf9206692ad185264daa
treec07e0f9d67f2520374cfe060685ebe4d17f32260
parent1a26f6462d2ee35cc8f3a7ac4fbdb01ffabd8067
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>
fs/io_uring.c