]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: modularize io_sqe_buffers_register
authorBijan Mottahedeh <bijan.mottahedeh@oracle.com>
Wed, 6 Jan 2021 20:39:11 +0000 (12:39 -0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 1 Feb 2021 17:02:41 +0000 (10:02 -0700)
commite045b68d53ad47cae0819060cdaffebf836ec6a9
treeb6b5c763028a15cd944ab148395e274179f98eb9
parent8a0f47ee8edc603343225bad526bc7c7a6ca6e02
io_uring: modularize io_sqe_buffers_register

Move allocation of buffer management structures, and validation of
buffers into separate routines.

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