commit | 2593553a01c803e01e7c5c2131993885879efbec | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Fri Mar 19 17:22:40 2021 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Apr 11 17:41:59 2021 -0600 |
tree | f8ff847c3fe1af91f0626b08efc55d684cccb2ff | |
parent | dac7a09864938a310eea08f26f5960d369680629 [diff] |
io_uring: remove __io_req_task_cancel() Both io_req_complete_failed() and __io_req_task_cancel() do the same thing: set failure flag, put both req refs and emit an CQE. The former one is a bit more advance as it puts req back into a req cache, so make it to take over __io_req_task_cancel() and remove the last one. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>