[PATCH] lockdep: use mutex_lock_nested for bd_mutex to avoid lockdep warning
authorNeilBrown <neilb@suse.de>
Fri, 8 Dec 2006 10:36:16 +0000 (02:36 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:39 +0000 (08:28 -0800)
commit6796bf54a64df36f96a42ae222423fffe36c58a5
tree50fa7f380469500a4419c5d88fcfb24c4c5ccae8
parent37be41241f43109c55d92cdbf303399eea642f14
[PATCH] lockdep: use mutex_lock_nested for bd_mutex to avoid lockdep warning

Now that the nesting in blkdev_{get,put} is simpler, adding mutex_lock_nested
is trivial.

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