commit | 87d7c8aca8670a772f74766c19e0345a606b67a9 | [log] [tgz] |
---|---|---|
author | Jason Baron <jbaron@redhat.com> | Fri Sep 29 02:01:01 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Fri Sep 29 09:18:19 2006 -0700 |
tree | 5373f4a6095d8772f33f1c9faa12f1a583f8f14e | |
parent | 303912e2a32aa73785b4c4dee15466d944a38a46 [diff] |
[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>