From b11ac20ecab194428deebf31f20c04fad5253628 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sun, 5 May 2013 00:07:22 -0400 Subject: arm: single_open() leaks Cc: stable@vger.kernel.org Signed-off-by: Al Viro --- arch/arm/kernel/swp_emulate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/arm/kernel/swp_emulate.c') diff --git a/arch/arm/kernel/swp_emulate.c b/arch/arm/kernel/swp_emulate.c index 087fc321e9e5..b1b89882b113 100644 --- a/arch/arm/kernel/swp_emulate.c +++ b/arch/arm/kernel/swp_emulate.c @@ -99,7 +99,7 @@ static const struct file_operations proc_status_fops = { .open = proc_status_open, .read = seq_read, .llseek = seq_lseek, - .release = seq_release, + .release = single_release, }; #endif -- cgit v1.2.2