diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-05 00:09:04 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-05 00:09:04 -0400 |
commit | 75401461610bf5fad0347bbd8cf7514a1f3b0cd4 (patch) | |
tree | b0531e83434bfcb0ca402819c0089dc44dca4831 /arch/ia64/sn | |
parent | a81ecc1631db6330d2b9ba11374b5812733a99ee (diff) |
ia64: single_open() leaks
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/ia64/sn')
-rw-r--r-- | arch/ia64/sn/kernel/sn2/prominfo_proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/sn/kernel/sn2/prominfo_proc.c b/arch/ia64/sn/kernel/sn2/prominfo_proc.c index daa8d6badb16..ec4de2b09653 100644 --- a/arch/ia64/sn/kernel/sn2/prominfo_proc.c +++ b/arch/ia64/sn/kernel/sn2/prominfo_proc.c | |||
@@ -149,7 +149,7 @@ static const struct file_operations proc_fit_fops = { | |||
149 | .open = proc_fit_open, | 149 | .open = proc_fit_open, |
150 | .read = seq_read, | 150 | .read = seq_read, |
151 | .llseek = seq_lseek, | 151 | .llseek = seq_lseek, |
152 | .release = seq_release, | 152 | .release = single_release, |
153 | }; | 153 | }; |
154 | 154 | ||
155 | static int proc_version_show(struct seq_file *m, void *v) | 155 | static int proc_version_show(struct seq_file *m, void *v) |
@@ -183,7 +183,7 @@ static const struct file_operations proc_version_fops = { | |||
183 | .open = proc_version_open, | 183 | .open = proc_version_open, |
184 | .read = seq_read, | 184 | .read = seq_read, |
185 | .llseek = seq_lseek, | 185 | .llseek = seq_lseek, |
186 | .release = seq_release, | 186 | .release = single_release, |
187 | }; | 187 | }; |
188 | 188 | ||
189 | /* module entry points */ | 189 | /* module entry points */ |