OSDN Git Service

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)
commit652532ad459524d32c6bf1522e0b88d83b084d1a
treef45c0f29e0aa2e1bc5c62f621d6070b495481618
parent6df1db6b542436c6d429caa66e1045862fa36155
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