nvme-loop: check for NVME_LOOP_Q_LIVE in nvme_loop_destroy_admin_queue()
stable inclusion from linux-4.19.196 commit 9ccbe18eb48a9b27b646931e01d84dfe0bc8a10d -------------------------------- [ Upstream commit 4237de2f ] We need to check the NVME_LOOP_Q_LIVE flag in nvme_loop_destroy_admin_queue() to protect against duplicate invocations eg during concurrent reset and remove calls. Signed-off-by:Hannes Reinecke <hare@suse.de> Reviewed-by:
Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Signed-off-by:
Christoph Hellwig <hch@lst.de> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Loading
Please sign in to comment