[XFS] Fix remount,readonly path to flush everything correctly.
authorDavid Chinner <dgc@sgi.com>
Mon, 18 Jun 2007 06:50:48 +0000 (16:50 +1000)
committerTim Shimmin <tes@chook.melbourne.sgi.com>
Sat, 14 Jul 2007 05:35:58 +0000 (15:35 +1000)
commit516b2e7c2661615ba5d5ad9fb584f068363502d3
tree984aed9e4dd27cb2acb547dd587525b5e4bf53d9
parent957d0ebed04239b734552c7da3fae9094b6f090c
[XFS] Fix remount,readonly path to flush everything correctly.

The remount readonly path can fail to writeback properly because we still
have active transactions after calling xfs_quiesce_fs(). Further
investigation shows that this path is broken in the same ways that the xfs
freeze path was broken so fix it the same way.

SGI-PV: 964464
SGI-Modid: xfs-linux-melb:xfs-kern:28869a

Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Tim Shimmin <tes@sgi.com>
fs/xfs/linux-2.6/xfs_super.c
fs/xfs/linux-2.6/xfs_vfs.h
fs/xfs/xfs_vfsops.c