diff options
author | Alexey Dobriyan <adobriyan@sw.ru> | 2007-07-31 00:38:50 -0700 |
---|---|---|
committer | Willy Tarreau <w@1wt.eu> | 2007-08-25 17:24:05 +0200 |
commit | 219d43111f781f42116d2a9b3b0e7fa2336a8fba (patch) | |
tree | eee8bc1e48e805d75ee8e9db22e65b3f7927a94e | |
parent | 8894f67be2ffabcd8b4491d552929b89bcebe36b (diff) | |
download | lwn-219d43111f781f42116d2a9b3b0e7fa2336a8fba.tar.gz lwn-219d43111f781f42116d2a9b3b0e7fa2336a8fba.zip |
[PATCH] Fix leak on /proc/lockdep_stats
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>
Signed-off-by: Willy Tarreau <w@1wt.eu>
-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 b554b40a4aa6..d787db590e0c 100644 --- a/kernel/lockdep_proc.c +++ b/kernel/lockdep_proc.c @@ -323,7 +323,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) |