diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-08-09 13:04:06 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-08-23 13:07:56 -0600 |
commit | 2215bed9246dbb95df50fcef788b0765c7c2aac0 (patch) | |
tree | dc9fc084b5c9360985f9f3506af9a90fea42bd83 /fs/io-wq.h | |
parent | ebc11b6c6b87da5c83b4d934893a893f49160bc3 (diff) | |
download | linux-2215bed9246dbb95df50fcef788b0765c7c2aac0.tar.bz2 |
io_uring: remove unnecessary PF_EXITING check
We prefer nornal task_works even if it would fail requests inside. Kill
a PF_EXITING check in io_req_task_work_add(), task_work_add() handles
well dying tasks, i.e. return error when can't enqueue due to late
stages of do_exit().
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/fc14297e8441cd8f5d1743a2488cf0df09bf48ac.1628471125.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io-wq.h')
0 files changed, 0 insertions, 0 deletions