diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-12-13 00:34:39 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-13 09:05:50 -0800 |
commit | a664089741aa9010333ecbdadbf5d9de62bafa2d (patch) | |
tree | 067e1f096a9af6cf77ef179a6cdf44082768e89d /kernel | |
parent | 5d6f647fc6bb57377c9f417c4752e43189f56bb1 (diff) |
[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 b02032476dc..5d69c7d7407 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 |