]> err.no Git - linux-2.6/commit
[PATCH] lockdep: debug_locks check after check_chain_key
authorJarek Poplawski <jarkao2@o2.pl>
Tue, 20 Feb 2007 21:58:00 +0000 (13:58 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 21 Feb 2007 01:10:14 +0000 (17:10 -0800)
commit60e114d1134555d1813e20a8cd86304331da05c7
tree2cd482be7f82b8c2f6bf1fde7bcf288471e4cd6b
parent34173a4aad7a641e72b70f9927ca797746fbce69
[PATCH] lockdep: debug_locks check after check_chain_key

In __lock_acquire check_chain_key can turn off debug_locks, so check is
needed to assure proper return code.

Signed-off-by: Jarek Poplawski <jarkao2@o2.pl>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/lockdep.c