diff options
author | Alexey Dobriyan <adobriyan@sw.ru> | 2007-07-31 03:38:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-31 18:39:40 -0400 |
commit | c0f3358621dc746219d49a9dee1799704d3a32f8 (patch) | |
tree | 664ca895c1eb5d25b3705f90c70eda51405fa7a5 | |
parent | 5ea473a1dfeca2ee38c5dd458c1174d129e6b64e (diff) |
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>
-rw-r--r-- | kernel/lockdep_proc.c | 2 |
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 = { | |||
346 | .open = lockdep_stats_open, | 346 | .open = lockdep_stats_open, |
347 | .read = seq_read, | 347 | .read = seq_read, |
348 | .llseek = seq_lseek, | 348 | .llseek = seq_lseek, |
349 | .release = seq_release, | 349 | .release = single_release, |
350 | }; | 350 | }; |
351 | 351 | ||
352 | #ifdef CONFIG_LOCK_STAT | 352 | #ifdef CONFIG_LOCK_STAT |