Skip to contentSkip to conversation

lockdep: filter off by default

atch Ingo Molnar 1 participant 1 message Dec 7, 2006

lore
Share & tools
lore
#0 lore raw

Subject: [patch] lockdep: filter off by default
From: Ingo Molnar <[email protected]>

fix typo in the class_filter() function. (filtering is not used by default so this only affects lockdep-internal debugging cases)

---
 kernel/lockdep.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/lockdep.c +2 -2
Index: linux/kernel/lockdep.c
===================================================================
@@ -179,8 +179,8 @@ static int class_filter(struct lock_clas
 			!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