]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Revert bd_mount_mutex back to a semaphore
authorDavid Chinner <dgc@sgi.com>
Thu, 11 Jan 2007 07:15:41 +0000 (23:15 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 12 Jan 2007 02:18:21 +0000 (18:18 -0800)
commit1195769fd939a0562a51bc761affd8bd3815fecb
treec9384ef5ff0ba68817858afdcc330e8707b11ec9
parentb2d0eb5769b9e68c5e4beeffa598398cfabea810
[PATCH] Revert bd_mount_mutex back to a semaphore

Revert bd_mount_mutex back to a semaphore so that xfs_freeze -f /mnt/newtest;
xfs_freeze -u /mnt/newtest works safely and doesn't produce lockdep warnings.

(XFS unlocks the semaphore from a different task, by design.  The mutex
code warns about this)

Signed-off-by: Dave Chinner <dgc@sgi.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/block_dev.c
fs/buffer.c
fs/gfs2/ops_fstype.c
fs/super.c
include/linux/fs.h