From acf300dd8708cb063244bd8b5838ea0cd7e42cc3 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sun, 5 May 2013 00:09:30 -0400 Subject: mips: single_open() leaks Cc: stable@vger.kernel.org Signed-off-by: Al Viro --- arch/mips/kernel/smtc-proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/mips/kernel') 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 = { .open = smtc_proc_open, .read = seq_read, .llseek = seq_lseek, - .release = seq_release, + .release = single_release, }; void init_smtc_stats(void) -- cgit v1.2.2