提交 801d9d26 编写于 作者: J Jan Beulich 提交者: Al Viro

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

That patch failed to set proc_scsi_fops' .release method.
Signed-off-by: NJan Beulich <jbeulich@suse.com>
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 5d477b60
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册