Commit eaf72f7b authored by Jens Axboe's avatar Jens Axboe
Browse files

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: default avatarJens Axboe <axboe@kernel.dk>
parent d58d82bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment