Re: [PATCH 1/4] blk-mq: move the call to blk_put_queue out of blk_mq_destroy_queue

Chaitanya Kulkarni
2022-10-18T20:44:31Z

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@lst.de>

Makes sense.

Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>

-ck