]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: refactor io_submit_flush_completions
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 26 Jun 2021 20:40:48 +0000 (21:40 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 30 Jun 2021 20:15:40 +0000 (14:15 -0600)
commitadb50bbd3625f2c9151140a78f64d693d0594c56
tree95caf50279be038b71be46705197c66ef8be3128
parentc01cd56840d1724daccc614ff4e9cadc4e0fc212
io_uring: refactor io_submit_flush_completions

Don't init req_batch before we actually need it. Also, add a small clean
up for req declaration.

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