commit | 758d5d64b619ddbbf96a5605d8d5a919aafaafab | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Wed Apr 05 08:21:45 2023 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Apr 05 09:30:18 2023 -0600 |
tree | c2d544fd016fd2a47c9b0d70eab7b4b8b8b31fc1 | |
parent | 69bbc6ade9d9d4e3c556cb83e77b6f3cd9ad3d18 [diff] |
io_uring/uring_cmd: assign ioucmd->cmd at async prep time Rather than check this in the fast path issue, it makes more sense to just assign the copy of the data when we're setting it up anyway. This makes the code a bit cleaner, and removes the need for this check in the issue path. Reviewed-by: Gabriel Krisman Bertazi <krisman@suse.de> Reviewed-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>