]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Fix leak on /proc/lockdep_stats
authorAlexey Dobriyan <adobriyan@sw.ru>
Tue, 31 Jul 2007 07:38:50 +0000 (00:38 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Aug 2007 21:27:34 +0000 (14:27 -0700)
Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/lockdep_proc.c

index 58f35e586ee3b508e693e3cd010a69982ae76b5f..96f04174f598f985a645c45320923741478527a0 100644 (file)
@@ -339,7 +339,7 @@ static const struct file_operations proc_lockdep_stats_operations = {
        .open           = lockdep_stats_open,
        .read           = seq_read,
        .llseek         = seq_lseek,
-       .release        = seq_release,
+       .release        = single_release,
 };
 
 static int __init lockdep_proc_init(void)