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>
Wed, 22 Jun 2022 17:07:47 +0000 (11:07 -0600)
commit3e7ab84652a36a15af34da2fb74336a61b6820d7
tree5fecd432e0c691834d82aac94c78324a5eb5800d
parent3a467e2348143f2e1b7867d49829bde2ac3c905c
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