projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a57b1fc
)
[SCSI] ibmmca: Stop leaking scsi_hosts on exit
author
Matthew Wilcox
<matthew@wil.cx>
Wed, 15 Aug 2007 18:56:58 +0000
(12:56 -0600)
committer
James Bottomley
<jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:51:10 +0000
(14:51 -0400)
There was a missing call to scsi_host_put() causing us to leak a scsi
host every time this module was unloaded.
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/ibmmca.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/ibmmca.c
b/drivers/scsi/ibmmca.c
index 4275d1b04ced7f24b6c89d54b6a403e7cff9357a..82f116aea82b10455407a784ec90382285905a40 100644
(file)
--- a/
drivers/scsi/ibmmca.c
+++ b/
drivers/scsi/ibmmca.c
@@
-1693,6
+1693,7
@@
static int __devexit ibmmca_remove(struct device *dev)
scsi_remove_host(shpnt);
release_region(shpnt->io_port, shpnt->n_io_port);
free_irq(shpnt->irq, dev);
+ scsi_host_put(shpnt);
return 0;
}