projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c21bb25
)
megaraid_sas: Fix reset_mutex leak
author
Adam Radford
<aradford@gmail.com>
Wed, 9 Jul 2014 22:17:54 +0000
(15:17 -0700)
committer
Christoph Hellwig
<hch@lst.de>
Tue, 16 Sep 2014 16:09:54 +0000
(09:09 -0700)
The following patch for megaraid_sas fixes a reset_mutex leak in megasas_reset_fusion().
Signed-off-by: Adam Radford <aradford@gmail.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/megaraid/megaraid_sas_fusion.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/megaraid/megaraid_sas_fusion.c
b/drivers/scsi/megaraid/megaraid_sas_fusion.c
index 3ed03dfab76c4997eadb43aed51be2dbad3837a3..57b47fe6907241224b6be45a73999221191e34f4 100644
(file)
--- a/
drivers/scsi/megaraid/megaraid_sas_fusion.c
+++ b/
drivers/scsi/megaraid/megaraid_sas_fusion.c
@@
-2355,6
+2355,7
@@
int megasas_reset_fusion(struct Scsi_Host *shost, int iotimeout)
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;
}