summaryrefslogtreecommitdiff
path: root/kernel/gcov/gcc_base.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-05-18 11:04:17 -0600
committerJens Axboe <axboe@kernel.dk>2020-05-18 11:14:22 -0600
commite3aabf9554fd04eb14cd44ae7583fc9d40edd250 (patch)
tree790ecb72a74a5148aaeb551d099df7cd325ed2f5 /kernel/gcov/gcc_base.c
parent948a7749454b1712f1b2f2429f9493eb3e4a89b0 (diff)
io_uring: cancel work if task_work_add() fails
We currently move it to the io_wqe_manager for execution, but we cannot safely do so as we may lack some of the state to execute it out of context. As we cancel work anyway when the ring/task exits, just mark this request as canceled and io_async_task_func() will do the right thing. Fixes: aa96bf8a9ee3 ("io_uring: use io-wq manager as backup task if task is exiting") Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel/gcov/gcc_base.c')
0 files changed, 0 insertions, 0 deletions