From 75401461610bf5fad0347bbd8cf7514a1f3b0cd4 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sun, 5 May 2013 00:09:04 -0400 Subject: ia64: single_open() leaks Cc: stable@vger.kernel.org Signed-off-by: Al Viro --- arch/ia64/kernel/palinfo.c | 2 +- arch/ia64/kernel/salinfo.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'arch/ia64/kernel') diff --git a/arch/ia64/kernel/palinfo.c b/arch/ia64/kernel/palinfo.c index b17129e3b7c8..2b3c2d79256f 100644 --- a/arch/ia64/kernel/palinfo.c +++ b/arch/ia64/kernel/palinfo.c @@ -929,7 +929,7 @@ static const struct file_operations proc_palinfo_fops = { .open = proc_palinfo_open, .read = seq_read, .llseek = seq_lseek, - .release = seq_release, + .release = single_release, }; static void __cpuinit diff --git a/arch/ia64/kernel/salinfo.c b/arch/ia64/kernel/salinfo.c index 5035245cb258..4bc580af67b3 100644 --- a/arch/ia64/kernel/salinfo.c +++ b/arch/ia64/kernel/salinfo.c @@ -694,7 +694,7 @@ static const struct file_operations proc_salinfo_fops = { .open = proc_salinfo_open, .read = seq_read, .llseek = seq_lseek, - .release = seq_release, + .release = single_release, }; module_init(salinfo_init); -- cgit v1.2.1