summaryrefslogtreecommitdiffstats
path: root/rust/helpers
diff options
context:
space:
mode:
authorCaleb Sander Mateos <csander@purestorage.com>2025-04-08 19:29:26 -0600
committerJens Axboe <axboe@kernel.dk>2025-04-09 07:58:04 -0600
commit843c6cec1af85f05971b7baf3704801895e77d76 (patch)
tree714f339c31ffa09e37632c7b6cb1be5d6e43a6c1 /rust/helpers
parent18461f2a02be04f8bbbe3b37fecfc702e3fa5bc2 (diff)
downloadlinux-843c6cec1af85f05971b7baf3704801895e77d76.tar.gz
linux-843c6cec1af85f05971b7baf3704801895e77d76.tar.bz2
linux-843c6cec1af85f05971b7baf3704801895e77d76.zip
ublk: pass ublksrv_ctrl_cmd * instead of io_uring_cmd *
The ublk_ctrl_*() handlers all take struct io_uring_cmd *cmd but only use it to get struct ublksrv_ctrl_cmd *header from the io_uring SQE. Since the caller ublk_ctrl_uring_cmd() has already computed header, pass it instead of cmd. Signed-off-by: Caleb Sander Mateos <csander@purestorage.com> Link: https://lore.kernel.org/r/20250409012928.3527198-1-csander@purestorage.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions