summaryrefslogtreecommitdiffstats
path: root/kernel/lockdep_proc.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@sw.ru>2007-07-31 09:38:50 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-08-01 00:39:40 +0200
commitc0f3358621dc746219d49a9dee1799704d3a32f8 (patch)
tree664ca895c1eb5d25b3705f90c70eda51405fa7a5 /kernel/lockdep_proc.c
parentFix leaks on /proc/{*/sched,sched_debug,timer_list,timer_stats} (diff)
downloadlinux-c0f3358621dc746219d49a9dee1799704d3a32f8.tar.xz
linux-c0f3358621dc746219d49a9dee1799704d3a32f8.zip
Fix leak on /proc/lockdep_stats
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>
Diffstat (limited to '')
-rw-r--r--kernel/lockdep_proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/lockdep_proc.c b/kernel/lockdep_proc.c
index 9f17af4a2490..c851b2dcc685 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