summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-12-13 00:34:39 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-13 09:05:50 -0800
commita664089741aa9010333ecbdadbf5d9de62bafa2d (patch)
tree067e1f096a9af6cf77ef179a6cdf44082768e89d /kernel
parent5d6f647fc6bb57377c9f417c4752e43189f56bb1 (diff)
downloadop-kernel-dev-a664089741aa9010333ecbdadbf5d9de62bafa2d.zip
op-kernel-dev-a664089741aa9010333ecbdadbf5d9de62bafa2d.tar.gz
[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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/lockdep.c b/kernel/lockdep.c
index b020324..5d69c7d 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
OpenPOWER on IntegriCloud