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>
Wed, 22 Jun 2022 17:06:16 +0000 (11:06 -0600)
commit97d72235a09b2685002de6e4d498ef945e82167a
treebbf6568d10868f0684f3bfba2548c68dae2d9e79
parentb703fefc06fac86f85fbf5dd4633ad7671e9d483
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