]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] lockdep: remove lock_key approach to managing nested bd_mutex locks
authorNeilBrown <neilb@suse.de>
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)
commitfd27c7a1bfa9801544ca961cdb4ca0b4998580b8
tree44749ea9d81931cbe5a753b972f6b9fde92a6496
parent35a6027f1ab6594068cb8bca7705e4567753946b
[PATCH] lockdep: remove lock_key approach to managing nested bd_mutex locks

The extra call to get_gendisk is not good.  It causes a ->probe and possible
module load before it is really appropriate to do this.

Cc: Ingo Molnar <mingo@elte.hu>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/block_dev.c