io_uring: convert the sync and fallocate paths to use io_cmd_type
authorJens Axboe <axboe@kernel.dk>
Tue, 24 May 2022 15:30:45 +0000 (09:30 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jul 2022 00:39:10 +0000 (18:39 -0600)
commite4a71006eace14a6699d66a514b6310cd8b57f7d
treeac77b2790dbf8e755d133d9b712210c8b9816024
parent8ff86d85b74d547a4e5f09acc884dd4cc173d087
io_uring: convert the sync and fallocate paths to use io_cmd_type

They all share the same struct io_sync, convert them to use the
io_cmd_type approach instead.

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