+5
−3
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
[ 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>