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>
Mon, 25 Jul 2022 00:39:10 +0000 (18:39 -0600)
commit3c306fb2f9463fd0e0e896dde9e3e53097d0e41e
treee50b299b4d3ba3ef07f65e5bdeda1faa10bd43b7
parentf49eca21563b6d919d49828aaed9eab5d8090361
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