Commit 801d9d26bfd6e88e9cf0efbb30b649d1bdc15dcf

Authored by Jan Beulich
Committed by Al Viro
1 parent 5d477b6079

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/scsi/scsi_proc.c
... ... @@ -84,6 +84,7 @@
84 84  
85 85 static const struct file_operations proc_scsi_fops = {
86 86 .open = proc_scsi_host_open,
  87 + .release = single_release,
87 88 .read = seq_read,
88 89 .llseek = seq_lseek,
89 90 .write = proc_scsi_host_write