linux/drivers/scsi/mpt2sas
Alexey Khoroshilov 7fbd764881 [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>
2012-02-12 19:39:28 -06:00
..
mpi [SCSI] mpt2sas: MPI next revision header update 2011-12-15 10:57:38 +04:00
Kconfig [SCSI] mpt2sas: Copyright 2010. 2010-04-11 09:24:02 -05:00
Makefile
mpt2sas_base.c [SCSI] mpt2sas: Fix mismatch in mpt2sas_base_hard_reset_handler() mutex lock-unlock 2012-02-12 19:39:28 -06:00
mpt2sas_base.h [SCSI] mpt2sas : Bump driver vesion to 12.100.00.00 2011-12-15 10:57:39 +04:00
mpt2sas_config.c [SCSI] mpt2sas: Fix for Panic when inactive volume is tried deleting 2011-10-30 12:56:55 +04:00
mpt2sas_ctl.c [SCSI] mpt2sas: Rearrange the the code so that the completion queues are initialized prior to sending the request to controller firmware 2011-12-15 10:57:32 +04:00
mpt2sas_ctl.h [SCSI] mpt2sas : WarpDrive New product SSS6200 support added 2011-05-01 10:36:54 -05:00
mpt2sas_debug.h [SCSI] mpt2sas: Fixed Big Indian Issues on 32 bit PPC 2011-06-29 16:07:00 -05:00
mpt2sas_scsih.c [SCSI] mpt2sas: Removed redundant calling of _scsih_probe_devices() from _scsih_probe 2011-12-15 10:57:43 +04:00
mpt2sas_transport.c [SCSI] mpt2sas: Rearrange the the code so that the completion queues are initialized prior to sending the request to controller firmware 2011-12-15 10:57:32 +04:00