[PATCH 1/4] blk-mq: move the call to blk_put_queue out of blk_mq_destroy_queue
Chaitanya Kulkarni
chaitanyak at nvidia.com
Tue Oct 18 13:44:17 PDT 2022
On 10/18/22 06:57, Christoph Hellwig wrote:
> 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 <hch at lst.de>
Makes sense.
Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>
-ck
More information about the Linux-nvme
mailing list