commit | 4237de2f73a669e4f89ac0aa2b44fb1a1d9ec583 | [log] [tgz] |
---|---|---|
author | Hannes Reinecke <hare@suse.de> | Wed May 26 17:23:17 2021 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Wed Jun 02 10:06:53 2021 +0300 |
tree | 1d2b051abc8306f5ea9f77efd182435c0604a759 | |
parent | 1c5f8e882a05de5c011e8c3fbeceb0d1c590eb53 [diff] |
nvme-loop: check for NVME_LOOP_Q_LIVE in nvme_loop_destroy_admin_queue() 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>