commit | 2c4b8eb6435e615544b92acdcd4b25a85e83f300 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Sun Feb 28 22:35:10 2021 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Apr 11 17:41:57 2021 -0600 |
tree | e8b8b1087c6f4ceb6f8b269a209a5dd335aa9373 | |
parent | e83acd7d37d83035f2fe078f656f87418ea2a687 [diff] |
io_uring: reuse io_req_task_queue_fail() Use io_req_task_queue_fail() on the fail path of io_req_task_queue(). It's unlikely to happen, so don't care about additional overhead, but allows to keep all the req->result invariant in a single function. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>