Skip to content

Commit

Permalink
[PATCH] lockdep: filter off by default
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ingo Molnar authored and Linus Torvalds committed Dec 13, 2006
1 parent 5d6f647 commit a664089
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/lockdep.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a664089

Please sign in to comment.