[PATCH] new bd_mutex lockdep annotation
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 8 Dec 2006 10:36:14 +0000 (02:36 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:38 +0000 (08:28 -0800)
commit35a6027f1ab6594068cb8bca7705e4567753946b
tree43c4a501343b5d1531b2043408061f5f03d96ae6
parent2e7b651df113c8a463853e4169951c52c39f9d19
[PATCH] new bd_mutex lockdep annotation

Use the gendisk partition number to set a lock class.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Neil Brown <neilb@cse.unsw.edu.au>
Cc: Ingo Molnar <mingo@elte.hu>
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
Cc: Jason Baron <jbaron@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/block_dev.c