commit | eab30c4d20dc761d463445e5130421863ff81505 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Tue Jan 19 13:32:42 2021 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Feb 01 10:02:42 2021 -0700 |
tree | d22c11edb7f9a701d465de59f78f0039cb68fff0 | |
parent | 02b23a9af5ba4db0a85ebb81c8b376b2fe860d0f [diff] |
io_uring: deduplicate failing task_work_add When io_req_task_work_add() fails, the request will be cancelled by enqueueing via task_works of io-wq. Extract a function for that. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>