diff options
author | Keith Busch | 2019-02-11 17:23:50 +0100 |
---|---|---|
committer | Christoph Hellwig | 2019-02-12 09:29:07 +0100 |
commit | 4726bcf30fad37cc555cd9dcd6c73f2b2668c879 (patch) | |
tree | 66f8d7cd04f0b7a8eac338d708a42f077d1e54c2 /include/linux/workqueue.h | |
parent | blk-mq: insert rq with DONTPREP to hctx dispatch list when requeue (diff) | |
download | kernel-qcow2-linux-4726bcf30fad37cc555cd9dcd6c73f2b2668c879.tar.gz kernel-qcow2-linux-4726bcf30fad37cc555cd9dcd6c73f2b2668c879.tar.xz kernel-qcow2-linux-4726bcf30fad37cc555cd9dcd6c73f2b2668c879.zip |
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>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions