diff options
author | Hannes Reinecke <hare@suse.de> | 2021-05-26 17:23:17 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-06-02 10:06:53 +0300 |
commit | 4237de2f73a669e4f89ac0aa2b44fb1a1d9ec583 (patch) | |
tree | 1d2b051abc8306f5ea9f77efd182435c0604a759 /lib/mpi/mpi-sub-ui.c | |
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>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions