Skip to content
Snippets Groups Projects
Commit 801d9d26 authored by Jan Beulich's avatar Jan Beulich Committed by Al Viro
Browse files

fix buffer leak after "scsi: saner replacements for ->proc_info()"


That patch failed to set proc_scsi_fops' .release method.

Signed-off-by: default avatarJan Beulich <jbeulich@suse.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 5d477b60
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment