James/linux-scsi, The following patch for megaraid_sas fixes a reset_mutex leak in megasas_reset_fusion().
Signed-off-by: Adam Radford <aradf...@gmail.com> diff -Naur scsi-for-next.old/drivers/scsi/megaraid/megaraid_sas_fusion.c scsi-for-next.new/drivers/scsi/megaraid/megaraid_sas_fusion.c --- scsi-for-next.old/drivers/scsi/megaraid/megaraid_sas_fusion.c 2014-06-19 15:03:05.000000000 -0700 +++ scsi-for-next.new/drivers/scsi/megaraid/megaraid_sas_fusion.c 2014-06-19 15:24:19.982075881 -0700 @@ -2355,6 +2355,7 @@ printk(KERN_WARNING "megaraid_sas: Hardware critical error, " "returning FAILED for scsi%d.\n", instance->host->host_no); + mutex_unlock(&instance->reset_mutex); return FAILED; }
megaraid_sas.patch1
Description: Binary data