]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: keep queue_sqe()'s fail path separately
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 3 Jul 2020 19:15:07 +0000 (22:15 +0300)
committerJens Axboe <axboe@kernel.dk>
Sun, 5 Jul 2020 21:07:37 +0000 (15:07 -0600)
commit56db3d3ec2fd3c37670620f3259d1898774eecb1
treef45c0f29e0aa2e1bc5c62f621d6070b495481618
parentf9672367676552e442400c0760a3fba8b992722a
io_uring: keep queue_sqe()'s fail path separately

A preparation path, extracts error path into a separate block. It looks
saner then calling req_set_fail_links() after io_put_req_find_next(), even
though it have been working well.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c