diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-12-13 09:34:39 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-13 18:05:50 +0100 |
commit | a664089741aa9010333ecbdadbf5d9de62bafa2d (patch) | |
tree | 067e1f096a9af6cf77ef179a6cdf44082768e89d /kernel | |
parent | [PATCH] debug: add sysrq_always_enabled boot option (diff) | |
download | linux-a664089741aa9010333ecbdadbf5d9de62bafa2d.tar.xz linux-a664089741aa9010333ecbdadbf5d9de62bafa2d.zip |
[PATCH] lockdep: filter off by default
Fix typo in the class_filter() function. (filtering is not used by default so
this only affects lockdep-internal debugging cases)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/lockdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/lockdep.c b/kernel/lockdep.c index b02032476dc2..5d69c7d7407e 100644 --- a/kernel/lockdep.c +++ b/kernel/lockdep.c @@ -172,8 +172,8 @@ static int class_filter(struct lock_class *class) !strcmp(class->name, "&struct->lockfield")) return 1; #endif - /* Allow everything else. 0 would be filter everything else */ - return 1; + /* Filter everything else. 1 would be to allow everything else */ + return 0; } #endif |