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>
Thu, 21 Sep 2023 18:00:41 +0000 (12:00 -0600)
commita08d195b586a217d76b42062f88f375a3eedda4d
tree430dba2c7f2b6948b7080d67ce41c8d19ff9dbc5
parentce9ecca0238b140b88f43859b211c9fdfd8e5b70
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