[SCSI] qla4xxx: Fix double IDC locking in qla4_8xxx_error_recovery
authorPoornima Vonti <poornima.vonti@qlogic.com>
Thu, 20 Sep 2012 11:35:04 +0000 (07:35 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 24 Sep 2012 08:36:39 +0000 (12:36 +0400)
commit8276190725aca00bcf8869493a5040d2eebbca31
tree3aa7c8da0ba827daf5e2a3b354c1e87bcac67963
parentfbd8107cc9a0e31b3b028da607157fd23561975b
[SCSI] qla4xxx: Fix double IDC locking in qla4_8xxx_error_recovery

Issue:
In qla4_8xxx_error_recovery() IDC lock recovery is initiated as
IDC lock is held while enabling the interrupts

Fix:
Correctly handle IDC locking mechanism in qla4_8xxx_error_recovery().

Signed-off-by: Poornima Vonti <poornima.vonti@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_os.c