]> Git Repo - linux.git/commit
blk-mq: move the call to blk_put_queue out of blk_mq_destroy_queue
authorChristoph Hellwig <[email protected]>
Tue, 18 Oct 2022 13:57:17 +0000 (15:57 +0200)
committerJens Axboe <[email protected]>
Tue, 25 Oct 2022 14:25:10 +0000 (08:25 -0600)
commit2b3f056f72e56fa07df69b4705e0b46a6c08e77c
treecbff7730308b378de7bc8e3ac7076195404f9be4
parent8ed40ee35d94df2fdb56bbbc07e17dffd2383625
blk-mq: move the call to blk_put_queue out of blk_mq_destroy_queue

The fact that blk_mq_destroy_queue also drops a queue reference leads
to various places having to grab an extra reference.  Move the call to
blk_put_queue into the callers to allow removing the extra references.

Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[axboe: fix fabrics_q vs admin_q conflict in nvme core.c]
Signed-off-by: Jens Axboe <[email protected]>
block/blk-mq.c
block/bsg-lib.c
drivers/nvme/host/apple.c
drivers/nvme/host/core.c
drivers/nvme/host/pci.c
drivers/scsi/scsi_sysfs.c
drivers/ufs/core/ufshcd.c
This page took 0.058295 seconds and 4 git commands to generate.