parisc: single_open() leaks
Cc: stable@vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -275,7 +275,7 @@ static const struct file_operations pdc_chassis_warn_fops = {
|
|||||||
.open = pdc_chassis_warn_open,
|
.open = pdc_chassis_warn_open,
|
||||||
.read = seq_read,
|
.read = seq_read,
|
||||||
.llseek = seq_lseek,
|
.llseek = seq_lseek,
|
||||||
.release = seq_release,
|
.release = single_release,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init pdc_chassis_create_procfs(void)
|
static int __init pdc_chassis_create_procfs(void)
|
||||||
|
Reference in New Issue
Block a user