diff options
author | Christoph Hellwig <hch@sgi.com> | 2006-01-10 23:30:08 -0500 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-01-10 23:30:08 -0500 |
commit | e13a73f02595c564e423bda5742fb8df4ebca455 (patch) | |
tree | 0bd3dfd259bb21266332faa255f6d64001915fd1 /fs/xfs/xfs_vfsops.c | |
parent | 1df84c930a5101223da016f256b46b192dbf2b30 (diff) |
[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 @@ | |||
53 | #include "xfs_acl.h" | 53 | #include "xfs_acl.h" |
54 | #include "xfs_attr.h" | 54 | #include "xfs_attr.h" |
55 | #include "xfs_clnt.h" | 55 | #include "xfs_clnt.h" |
56 | #include "xfs_fsops.h" | ||
56 | 57 | ||
57 | STATIC int xfs_sync(bhv_desc_t *, int, cred_t *); | 58 | STATIC int xfs_sync(bhv_desc_t *, int, cred_t *); |
58 | 59 | ||
@@ -1967,6 +1968,7 @@ xfs_freeze( | |||
1967 | /* Push the superblock and write an unmount record */ | 1968 | /* Push the superblock and write an unmount record */ |
1968 | xfs_log_unmount_write(mp); | 1969 | xfs_log_unmount_write(mp); |
1969 | xfs_unmountfs_writesb(mp); | 1970 | xfs_unmountfs_writesb(mp); |
1971 | xfs_fs_log_dummy(mp); | ||
1970 | } | 1972 | } |
1971 | 1973 | ||
1972 | 1974 | ||