[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>
This commit is contained in:
Родитель
6bf579a326
Коммит
d4a759a954
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче