From: Alexey Dobriyan Date: Tue, 31 Jul 2007 07:38:50 +0000 (-0700) Subject: Fix leak on /proc/lockdep_stats X-Git-Tag: v2.6.23-rc2~81 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0f3358621dc746219d49a9dee1799704d3a32f8;p=linux-2.6 Fix leak on /proc/lockdep_stats Signed-off-by: Alexey Dobriyan Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/lockdep_proc.c b/kernel/lockdep_proc.c index 9f17af4a24..c851b2dcc6 100644 --- a/kernel/lockdep_proc.c +++ b/kernel/lockdep_proc.c @@ -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