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>
Thu, 21 Jul 2022 14:34:00 +0000 (08:34 -0600)
commit206933c3b5fae2ae2b0acf0b1391a21f6b7bf2e8
tree91c8b86f6240a224211965e74598e1e45f8213ff
parentffca591a6e3ef263a51ca25ae86dc99c38ce941a
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