diff options
author | Caleb Sander Mateos <csander@purestorage.com> | 2025-09-17 19:49:38 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-09-20 06:36:27 -0600 |
commit | b7e255b0340b5319fca4fe076119d0f929a24305 (patch) | |
tree | 81bae919ac92715d2c162f477f1101d669fe3ef5 /rust/helpers/workqueue.c | |
parent | 163f80dabf4f0c4d9e6c39e0dba474814dac78f8 (diff) |
ublk: don't pass q_id to ublk_queue_cmd_buf_size()
ublk_queue_cmd_buf_size() only needs the queue depth, which is the same
for all queues. Get the queue depth from the ublk_device instead so the
q_id parameter can be dropped.
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