diff options
author | adam radford <aradford@gmail.com> | 2011-10-08 21:14:39 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-10-16 12:19:02 -0400 |
commit | d4a759a954072dcb0a0bbd64ec4bc5252182d032 (patch) | |
tree | 4ba9cebc0e79a75e59a048431c1ed9ab350ba01f /drivers/scsi/megaraid | |
parent | 6bf579a326190d09d8c99316fefee7a6a892b891 (diff) |
[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) | |||
2057 | if (instance->adprecovery == MEGASAS_HW_CRITICAL_ERROR) { | 2057 | if (instance->adprecovery == MEGASAS_HW_CRITICAL_ERROR) { |
2058 | printk(KERN_WARNING "megaraid_sas: Hardware critical error, " | 2058 | printk(KERN_WARNING "megaraid_sas: Hardware critical error, " |
2059 | "returning FAILED.\n"); | 2059 | "returning FAILED.\n"); |
2060 | retval = FAILED; | 2060 | return FAILED; |
2061 | goto out; | ||
2062 | } | 2061 | } |
2063 | 2062 | ||
2064 | mutex_lock(&instance->reset_mutex); | 2063 | mutex_lock(&instance->reset_mutex); |