diff options
author | Caleb Sander Mateos <csander@purestorage.com> | 2025-09-17 19:49:43 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-09-20 06:36:27 -0600 |
commit | 8a81926e45670c6d9b6e73e0482485d5c9a627e6 (patch) | |
tree | 4cb81362b56dfbad20245119ff64f0368b079efc /rust/helpers/workqueue.c | |
parent | b40dcdf8235d536072b9f61eb6d291f0f3720768 (diff) |
ublk: pass ublk_device to ublk_register_io_buf()
Avoid repeating the 2 dereferences to get the ublk_device from the
io_uring_cmd by passing it from ublk_ch_uring_cmd_local() to
ublk_register_io_buf().
Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions