Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9e860d000a90cfc9ca270ddb6e99b177e6aa91cd Commit: 9e860d000a90cfc9ca270ddb6e99b177e6aa91cd Parent: 076fa0fa2d53046d32f5157022d683b8027f05ed Author: Jarek Poplawski <[EMAIL PROTECTED]> AuthorDate: Tue May 8 00:30:12 2007 -0700 Committer: Linus Torvalds <[EMAIL PROTECTED]> CommitDate: Tue May 8 11:15:11 2007 -0700
lockdep: lookup_chain_cache comment errata Signed-off-by: Jarek Poplawski <[EMAIL PROTECTED]> Acked-by: Ingo Molnar <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> --- kernel/lockdep.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/kernel/lockdep.c b/kernel/lockdep.c index 7f57313..dc4ea4c 100644 --- a/kernel/lockdep.c +++ b/kernel/lockdep.c @@ -1309,8 +1309,9 @@ out_unlock_set: /* * Look up a dependency chain. If the key is not present yet then - * add it and return 0 - in this case the new dependency chain is - * validated. If the key is already hashed, return 1. + * add it and return 1 - in this case the new dependency chain is + * validated. If the key is already hashed, return 0. + * (On return with 1 graph_lock is held.) */ static inline int lookup_chain_cache(u64 chain_key, struct lock_class *class) { - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html