Skip to content

Commit

Permalink
[SCSI] megaraid_sas: Fix mismatch in megasas_reset_fusion() mutex loc…
Browse files Browse the repository at this point in the history
…k-unlock

Signed-off-by: Adam Radford <aradford@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
  • Loading branch information
adam radford authored and James Bottomley committed Oct 16, 2011
1 parent 6bf579a commit d4a759a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/scsi/megaraid/megaraid_sas_fusion.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d4a759a

Please sign in to comment.