]> Gentwo Git Trees - linux/.git/commit
ublk: don't pass ublk_queue to ublk_fetch()
authorCaleb Sander Mateos <csander@purestorage.com>
Thu, 18 Sep 2025 01:49:49 +0000 (19:49 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 20 Sep 2025 12:36:27 +0000 (06:36 -0600)
commit3576e60a33c7f6be024b80f8c87312032fd27892
tree406110d7d9b4f115665d8fca96457186eb92316a
parent23c014448e97d4b59c54816f545ab963bf8dd644
ublk: don't pass ublk_queue to ublk_fetch()

ublk_fetch() only uses the ublk_queue to get the ublk_device, which its
caller already has. So just pass the ublk_device directly.

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>
drivers/block/ublk_drv.c