summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_vfsops.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2007-10-11 10:11:14 +0200
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-02-07 08:09:56 +0100
commit9909c4aa1a3e5b1f23cbc1bc2f0db025a7f75f85 (patch)
tree27a9a4a620a9af8163cfa1833d59c51008102e0d /fs/xfs/xfs_vfsops.c
parent[XFS] cleanup vnode useage in xfs_iget.c (diff)
downloadlinux-9909c4aa1a3e5b1f23cbc1bc2f0db025a7f75f85.tar.xz
linux-9909c4aa1a3e5b1f23cbc1bc2f0db025a7f75f85.zip
[XFS] kill xfs_freeze.
No need to have a wrapper just two call two more functions. SGI-PV: 971186 SGI-Modid: xfs-linux-melb:xfs-kern:29816a Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Donald Douwsma <donaldd@sgi.com> Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_vfsops.c')
-rw-r--r--fs/xfs/xfs_vfsops.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/fs/xfs/xfs_vfsops.c b/fs/xfs/xfs_vfsops.c
index 1249548aa12e..fd4a0dfc599f 100644
--- a/fs/xfs/xfs_vfsops.c
+++ b/fs/xfs/xfs_vfsops.c
@@ -692,7 +692,7 @@ xfs_quiesce_fs(
* care of the metadata. New transactions are already blocked, so we need to
* wait for any remaining transactions to drain out before proceding.
*/
-STATIC void
+void
xfs_attr_quiesce(
xfs_mount_t *mp)
{
@@ -1902,16 +1902,3 @@ xfs_showargs(
seq_puts(m, "," MNTOPT_DMAPI);
return 0;
}
-
-/*
- * Second stage of a freeze. The data is already frozen so we only
- * need to take care of themetadata. Once that's done write a dummy
- * record to dirty the log in case of a crash while frozen.
- */
-void
-xfs_freeze(
- xfs_mount_t *mp)
-{
- xfs_attr_quiesce(mp);
- xfs_fs_log_dummy(mp);
-}