]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: refactor lazy link fail
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 15 Apr 2022 21:08:30 +0000 (22:08 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Apr 2022 00:02:49 +0000 (18:02 -0600)
commitab493f4dc83203dcc737134722616708f7f1d3a9
treec8c544ef4ebb2cf61651a21ee3c9479f00cf1333
parent6b7305f7f76a470769ac061a9c824b3fddffad7f
io_uring: refactor lazy link fail

Remove the lazy link fail logic from io_submit_sqe() and hide it into a
helper. It simplifies the code and will be needed in next patches.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/6a68aca9cf4492132da1d7c8a09068b74aba3c65.1650056133.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c