diff options
author | adam radford <aradford@gmail.com> | 2011-10-09 03:14:39 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-10-16 18:19:02 +0200 |
commit | d4a759a954072dcb0a0bbd64ec4bc5252182d032 (patch) | |
tree | 4ba9cebc0e79a75e59a048431c1ed9ab350ba01f /drivers/scsi/megaraid | |
parent | [SCSI] megaraid_sas: Increase default cmds per lun to 256 (diff) | |
download | linux-d4a759a954072dcb0a0bbd64ec4bc5252182d032.tar.xz linux-d4a759a954072dcb0a0bbd64ec4bc5252182d032.zip |
[SCSI] megaraid_sas: Fix mismatch in megasas_reset_fusion() mutex lock-unlock
Signed-off-by: Adam Radford <aradford@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/megaraid')
-rw-r--r-- | drivers/scsi/megaraid/megaraid_sas_fusion.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c b/drivers/scsi/megaraid/megaraid_sas_fusion.c index 392b49d93b55..492ad42ff7ac 100644 --- a/drivers/scsi/megaraid/megaraid_sas_fusion.c +++ b/drivers/scsi/megaraid/megaraid_sas_fusion.c @@ -2057,8 +2057,7 @@ int megasas_reset_fusion(struct Scsi_Host *shost) if (instance->adprecovery == MEGASAS_HW_CRITICAL_ERROR) { printk(KERN_WARNING "megaraid_sas: Hardware critical error, " "returning FAILED.\n"); - retval = FAILED; - goto out; + return FAILED; } mutex_lock(&instance->reset_mutex); |