diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-05 00:09:30 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-05 00:10:21 -0400 |
commit | acf300dd8708cb063244bd8b5838ea0cd7e42cc3 (patch) | |
tree | 489fb3ba2832af76946a2e75abb53f91bd461439 /arch/mips/kernel | |
parent | 75401461610bf5fad0347bbd8cf7514a1f3b0cd4 (diff) |
mips: single_open() leaks
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r-- | arch/mips/kernel/smtc-proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/smtc-proc.c b/arch/mips/kernel/smtc-proc.c index 9fb714450e95..c10aa84c9fa9 100644 --- a/arch/mips/kernel/smtc-proc.c +++ b/arch/mips/kernel/smtc-proc.c | |||
@@ -61,7 +61,7 @@ static const struct file_operations smtc_proc_fops = { | |||
61 | .open = smtc_proc_open, | 61 | .open = smtc_proc_open, |
62 | .read = seq_read, | 62 | .read = seq_read, |
63 | .llseek = seq_lseek, | 63 | .llseek = seq_lseek, |
64 | .release = seq_release, | 64 | .release = single_release, |
65 | }; | 65 | }; |
66 | 66 | ||
67 | void init_smtc_stats(void) | 67 | void init_smtc_stats(void) |