commit | 7066774e60e4d2c1108f99822725af5de19f1c78 | [log] [tgz] |
---|---|---|
author | Keith Busch <keith.busch@intel.com> | Mon Feb 11 09:23:50 2019 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Mar 13 14:02:38 2019 -0700 |
tree | 0e0d7d1766cb46a4b4a37fd719ec74432b8b7c56 | |
parent | 6d482bc5697763eb1214f207286daa201b32d20a [diff] |
nvme-pci: add missing unlock for reset error [ Upstream commit 4726bcf30fad37cc555cd9dcd6c73f2b2668c879 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>