From: Al Viro Date: Sun, 5 May 2013 04:08:26 +0000 (-0400) Subject: h8300: single_open() leaks X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a81ecc1631db6330d2b9ba11374b5812733a99ee;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git h8300: single_open() leaks Cc: stable@vger.kernel.org Signed-off-by: Al Viro --- diff --git a/arch/h8300/kernel/gpio.c b/arch/h8300/kernel/gpio.c index b02c752cd326..084bfd0c107e 100644 --- a/arch/h8300/kernel/gpio.c +++ b/arch/h8300/kernel/gpio.c @@ -161,7 +161,7 @@ static const struct file_operations gpio_proc_fops = { .open = gpio_proc_open, .read = seq_read, .llseek = seq_lseek, - .release = seq_release, + .release = single_release, }; static __init int register_proc(void)