diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2011-08-25 22:36:23 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-02-13 02:39:28 +0100 |
commit | 7fbd764881a5f9dc81a378293b7a74227fcc04ed (patch) | |
tree | ee7a8ab5c5f6875b61b89d780a584ab1a139745e /drivers/scsi/scsi_error.c | |
parent | Merge branch 'for-linus' of git://git.kernel.dk/linux-block (diff) | |
download | linux-7fbd764881a5f9dc81a378293b7a74227fcc04ed.tar.xz linux-7fbd764881a5f9dc81a378293b7a74227fcc04ed.zip |
[SCSI] mpt2sas: Fix mismatch in mpt2sas_base_hard_reset_handler() mutex lock-unlock
If ioc->pci_error_recovery is set, goto out in mpt2sas_base_hard_reset_handler()
leads to unlock unheld ioc->reset_in_progress_mutex.
The patch fixes the issue by jumping afer mutex_unlock() call.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Acked-by: "Nandigama, Nagalakshmi" <Nagalakshmi.Nandigama@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/scsi_error.c')
0 files changed, 0 insertions, 0 deletions