]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] block_dev.c mutex_lock_nested() fix
authorJason Baron <jbaron@redhat.com>
Fri, 29 Sep 2006 09:01:01 +0000 (02:01 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Sep 2006 16:18:19 +0000 (09:18 -0700)
commit6a577887261cf0dfd1cb0cd98d821599833d4a5c
tree5373f4a6095d8772f33f1c9faa12f1a583f8f14e
parent47ce923679214e4fde2c43f31a3c513706113496
[PATCH] block_dev.c mutex_lock_nested() fix

In the case below we are locking the whole disk not a partition.  This
change simply brings the code in line with the piece above where when we
are the 'first' opener, and we are a partition.

Signed-off-by: Jason Baron <jbaron@redhat.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/block_dev.c