io_uring/uring_cmd: cleanup struct io_uring_cmd_data layout
authorJens Axboe <axboe@kernel.dk>
Thu, 23 Jan 2025 02:50:31 +0000 (19:50 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 23 Jan 2025 18:29:00 +0000 (11:29 -0700)
commiteaf72f7b414f5944585e7dee9c915c7f8f7f6344
treeb02fd1bf277239aaabff5abbc47375ffd7ba2d5b
parentd58d82bd0efd6c8edd452fc2f6c6dd052ec57cb2
io_uring/uring_cmd: cleanup struct io_uring_cmd_data layout

A few spots in uring_cmd assume that the SQEs copied are always at the
start of the structure, and hence mix req->async_data and the struct
itself.

Clean that up and use the proper indices.

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