projects
/
GitHub
/
LineageOS
/
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:
5d477b6
)
fix buffer leak after "scsi: saner replacements for ->proc_info()"
author
Jan Beulich
<JBeulich@suse.com>
Wed, 29 May 2013 12:26:53 +0000
(13:26 +0100)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 31 May 2013 19:16:51 +0000
(15:16 -0400)
That patch failed to set proc_scsi_fops' .release method.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/scsi/scsi_proc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/scsi_proc.c
b/drivers/scsi/scsi_proc.c
index db66357211ed167d4df1019f151b7e99214788c8..86f0c5d5c116f74d2117806e45ec4599d750837a 100644
(file)
--- a/
drivers/scsi/scsi_proc.c
+++ b/
drivers/scsi/scsi_proc.c
@@
-84,6
+84,7
@@
static int proc_scsi_host_open(struct inode *inode, struct file *file)
static const struct file_operations proc_scsi_fops = {
.open = proc_scsi_host_open,
+ .release = single_release,
.read = seq_read,
.llseek = seq_lseek,
.write = proc_scsi_host_write