From: Ingo Molnar Date: Wed, 13 Dec 2006 08:34:39 +0000 (-0800) Subject: [PATCH] lockdep: filter off by default X-Git-Tag: v2.6.20-rc1~91 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a664089741aa9010333ecbdadbf5d9de62bafa2d;p=linux-2.6 [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/lockdep.c b/kernel/lockdep.c index b02032476d..5d69c7d740 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