]> 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)
commit7147b18aff07f5cde71dbe2dcc56a47b5b16f3ea
treef45c0f29e0aa2e1bc5c62f621d6070b495481618
parent35efbb35625432603ccbab3a13fa86277c3003b1
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