]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Fix leak on /proc/lockdep_stats
authorAlexey Dobriyan <adobriyan@sw.ru>
Tue, 31 Jul 2007 07:38:50 +0000 (00:38 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 31 Jul 2007 22:39:40 +0000 (15:39 -0700)
Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/lockdep_proc.c

index 9f17af4a2490764342a0fe17313b9b32e65ddfc8..c851b2dcc685cc91db6bf16838aaab556517878e 100644 (file)
@@ -346,7 +346,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,
 };
 
 #ifdef CONFIG_LOCK_STAT