Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d4a759a9 authored by Adam Radford's avatar Adam Radford Committed by James Bottomley
Browse files

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

parent 6bf579a3
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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);