* [atch] lockdep: filter off by default
@ 2006-12-07 9:18 Ingo Molnar
0 siblings, 0 replies; only message in thread
From: Ingo Molnar @ 2006-12-07 9:18 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
Subject: [patch] lockdep: filter off by default
From: Ingo Molnar <mingo@elte.hu>
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>
---
kernel/lockdep.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: linux/kernel/lockdep.c
===================================================================
--- linux.orig/kernel/lockdep.c
+++ 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-12-07 9:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-07 9:18 [atch] lockdep: filter off by default Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox