diff options
author | Jan Beulich <JBeulich@suse.com> | 2013-05-29 14:26:53 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-31 21:16:51 +0200 |
commit | 801d9d26bfd6e88e9cf0efbb30b649d1bdc15dcf (patch) | |
tree | 8d47d18324a3e7ad95dcbd7e45cdc9761f30505d /drivers | |
parent | vfs: Fix invalid ida_remove() call (diff) | |
download | linux-801d9d26bfd6e88e9cf0efbb30b649d1bdc15dcf.tar.xz linux-801d9d26bfd6e88e9cf0efbb30b649d1bdc15dcf.zip |
fix buffer leak after "scsi: saner replacements for ->proc_info()"
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/scsi_proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_proc.c b/drivers/scsi/scsi_proc.c index db66357211ed..86f0c5d5c116 100644 --- 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 |