commit | 4726bcf30fad37cc555cd9dcd6c73f2b2668c879 | [log] [tgz] |
---|---|---|
author | Keith Busch <keith.busch@intel.com> | Mon Feb 11 09:23:50 2019 -0700 |
committer | Christoph Hellwig <hch@lst.de> | Tue Feb 12 09:29:07 2019 +0100 |
tree | 66f8d7cd04f0b7a8eac338d708a42f077d1e54c2 | |
parent | aef1897cd36dcf5e296f1d2bae7e0d268561b685 [diff] |
nvme-pci: add missing unlock for reset error The reset work holds a mutex to prevent races with removal modifying the same resources, but was unlocking only on success. Unlock on failure too. Fixes: 5c959d73dba64 ("nvme-pci: fix rapid add remove sequence") Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de>