]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - fs/io_uring.c
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)
commite5dc480d4ed9884274e95c757fa2d2e9cc1047ee
treec07e0f9d67f2520374cfe060685ebe4d17f32260
parentdd432ea5204eeb92a2abf246ce518e68679da772
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