]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit86a6493bda08b44f0f3723714bd309c6f0c2b116
tree757aec6ef954a2a38de3dac17061109049824c45
parentf133d108d1f626aa67dc0536cf7b94862e7e7851
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