]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ublk: don't pass ublk_queue to __ublk_fail_req()
authorCaleb Sander Mateos <csander@purestorage.com>
Thu, 18 Sep 2025 01:49:39 +0000 (19:49 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 20 Sep 2025 12:36:27 +0000 (06:36 -0600)
commit0265595002b989db8e0c32dc33624fa61a974b20
tree8c6ac687398a9efc6149344a3171d5586f462129
parentb7e255b0340b5319fca4fe076119d0f929a24305
ublk: don't pass ublk_queue to __ublk_fail_req()

__ublk_fail_req() 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