aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_vfsops.c
diff options
context:
space:
mode:
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(
692 * care of the metadata. New transactions are already blocked, so we need to 692 * care of the metadata. New transactions are already blocked, so we need to
693 * wait for any remaining transactions to drain out before proceding. 693 * wait for any remaining transactions to drain out before proceding.
694 */ 694 */
695STATIC void 695void
696xfs_attr_quiesce( 696xfs_attr_quiesce(
697 xfs_mount_t *mp) 697 xfs_mount_t *mp)
698{ 698{
@@ -1902,16 +1902,3 @@ xfs_showargs(
1902 seq_puts(m, "," MNTOPT_DMAPI); 1902 seq_puts(m, "," MNTOPT_DMAPI);
1903 return 0; 1903 return 0;
1904} 1904}
1905
1906/*
1907 * Second stage of a freeze. The data is already frozen so we only
1908 * need to take care of themetadata. Once that's done write a dummy
1909 * record to dirty the log in case of a crash while frozen.
1910 */
1911void
1912xfs_freeze(
1913 xfs_mount_t *mp)
1914{
1915 xfs_attr_quiesce(mp);
1916 xfs_fs_log_dummy(mp);
1917}