Commit d4a759a9 authored by adam radford's avatar adam radford Committed by James Bottomley

[SCSI] megaraid_sas: Fix mismatch in megasas_reset_fusion() mutex lock-unlock

Signed-off-by: default avatarAdam Radford <aradford@gmail.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 6bf579a3
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment