[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)
commitf73ca1b76c6880b934d3ef566c1592efc80bb759
treec9384ef5ff0ba68817858afdcc330e8707b11ec9
parent88bf7b391dca840f03fe25e4ff8fe6b4319fa07b
[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