diff options
author | Christoph Hellwig <hch@sgi.com> | 2006-01-11 15:30:08 +1100 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-01-11 15:30:08 +1100 |
commit | e13a73f02595c564e423bda5742fb8df4ebca455 (patch) | |
tree | 0bd3dfd259bb21266332faa255f6d64001915fd1 /fs/xfs/xfs_vfsops.c | |
parent | 1df84c930a5101223da016f256b46b192dbf2b30 (diff) | |
download | linux-e13a73f02595c564e423bda5742fb8df4ebca455.tar.bz2 |
[XFS] Write log dummy record when freezing filesystem
SGI-PV: 945483
SGI-Modid: xfs-linux-melb:xfs-kern:202638a
Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_vfsops.c')
-rw-r--r-- | fs/xfs/xfs_vfsops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/xfs_vfsops.c b/fs/xfs/xfs_vfsops.c index bfdabde23db0..dcdb0a8578e1 100644 --- a/fs/xfs/xfs_vfsops.c +++ b/fs/xfs/xfs_vfsops.c @@ -53,6 +53,7 @@ #include "xfs_acl.h" #include "xfs_attr.h" #include "xfs_clnt.h" +#include "xfs_fsops.h" STATIC int xfs_sync(bhv_desc_t *, int, cred_t *); @@ -1967,6 +1968,7 @@ xfs_freeze( /* Push the superblock and write an unmount record */ xfs_log_unmount_write(mp); xfs_unmountfs_writesb(mp); + xfs_fs_log_dummy(mp); } |