Commit 75401461 authored by Al Viro's avatar Al Viro

ia64: single_open() leaks

Cc: stable@vger.kernel.org
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent a81ecc16
...@@ -929,7 +929,7 @@ static const struct file_operations proc_palinfo_fops = { ...@@ -929,7 +929,7 @@ static const struct file_operations proc_palinfo_fops = {
.open = proc_palinfo_open, .open = proc_palinfo_open,
.read = seq_read, .read = seq_read,
.llseek = seq_lseek, .llseek = seq_lseek,
.release = seq_release, .release = single_release,
}; };
static void __cpuinit static void __cpuinit
......
...@@ -694,7 +694,7 @@ static const struct file_operations proc_salinfo_fops = { ...@@ -694,7 +694,7 @@ static const struct file_operations proc_salinfo_fops = {
.open = proc_salinfo_open, .open = proc_salinfo_open,
.read = seq_read, .read = seq_read,
.llseek = seq_lseek, .llseek = seq_lseek,
.release = seq_release, .release = single_release,
}; };
module_init(salinfo_init); module_init(salinfo_init);
...@@ -149,7 +149,7 @@ static const struct file_operations proc_fit_fops = { ...@@ -149,7 +149,7 @@ static const struct file_operations proc_fit_fops = {
.open = proc_fit_open, .open = proc_fit_open,
.read = seq_read, .read = seq_read,
.llseek = seq_lseek, .llseek = seq_lseek,
.release = seq_release, .release = single_release,
}; };
static int proc_version_show(struct seq_file *m, void *v) static int proc_version_show(struct seq_file *m, void *v)
...@@ -183,7 +183,7 @@ static const struct file_operations proc_version_fops = { ...@@ -183,7 +183,7 @@ static const struct file_operations proc_version_fops = {
.open = proc_version_open, .open = proc_version_open,
.read = seq_read, .read = seq_read,
.llseek = seq_lseek, .llseek = seq_lseek,
.release = seq_release, .release = single_release,
}; };
/* module entry points */ /* module entry points */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment