io_uring/rw: split io_read() into a helper
authorJens Axboe <axboe@kernel.dk>
Mon, 11 Sep 2023 19:31:56 +0000 (13:31 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 12 Sep 2023 19:11:04 +0000 (13:11 -0600)
commitfd4648410a0f9e98341f43187f1a51f3ff2728b1
treef5455faf9e2a38fb3db93f6ac9b70d67cf651276
parentdf137dff93fc8f7d8fdef049531adb2f1fdc51bd
io_uring/rw: split io_read() into a helper

Add __io_read() which does the grunt of the work, leaving the completion
side to the new io_read(). No functional changes in this patch.

Reviewed-by: Gabriel Krisman Bertazi <krisman@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/rw.c