From: Al Viro Date: Sun, 5 May 2013 04:09:44 +0000 (-0400) Subject: parisc: single_open() leaks X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=46d4c0ff2446d04ee765d6fe6e0b1e596e4b8c29;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git parisc: single_open() leaks Cc: stable@vger.kernel.org Signed-off-by: Al Viro --- diff --git a/arch/parisc/kernel/pdc_chassis.c b/arch/parisc/kernel/pdc_chassis.c index 8fa314fbfb18..3e04242de5a7 100644 --- a/arch/parisc/kernel/pdc_chassis.c +++ b/arch/parisc/kernel/pdc_chassis.c @@ -275,7 +275,7 @@ static const struct file_operations pdc_chassis_warn_fops = { .open = pdc_chassis_warn_open, .read = seq_read, .llseek = seq_lseek, - .release = seq_release, + .release = single_release, }; static int __init pdc_chassis_create_procfs(void)