]> git.ipfire.org Git - thirdparty/linux.git/commit - fs/io_uring.c
io_uring: simplify io_get_sqring
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 8 Apr 2020 05:58:43 +0000 (08:58 +0300)
committerJens Axboe <axboe@kernel.dk>
Wed, 8 Apr 2020 15:25:18 +0000 (09:25 -0600)
commit709b302faddfac757d87df2080f900eccb1dc9e2
tree757aec6ef954a2a38de3dac17061109049824c45
parent45097daea2f4e89bdb1c98359f78d0d6feb8e5c8
io_uring: simplify io_get_sqring

Make io_get_sqring() care only about sqes themselves, not initialising
the io_kiocb. Also, split it into get + consume, that will be helpful in
the future.

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