io_uring: convert read/write path to use io_cmd_type
authorJens Axboe <axboe@kernel.dk>
Mon, 13 Jun 2022 12:57:44 +0000 (06:57 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Jul 2022 14:33:55 +0000 (08:33 -0600)
commit245406a9986b21e86c080effa2bfde957a06f34c
treecbede3f085cdf39fffbcc3318935ecfd3fb2bb5e
parent1208b72e7901ec8ee4dd5126a1639fe7932be2c2
io_uring: convert read/write path to use io_cmd_type

Remove struct io_rw from io_kiocb, and convert the read/write path to
use the io_cmd_type approach instead.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c