diff options
Diffstat (limited to 'fs/nilfs2')
-rw-r--r-- | fs/nilfs2/super.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nilfs2/super.c b/fs/nilfs2/super.c index 7ac2a122ca1d..8c532b2ca3ab 100644 --- a/fs/nilfs2/super.c +++ b/fs/nilfs2/super.c | |||
@@ -1129,6 +1129,7 @@ static int nilfs_remount(struct super_block *sb, int *flags, char *data) | |||
1129 | unsigned long old_mount_opt; | 1129 | unsigned long old_mount_opt; |
1130 | int err; | 1130 | int err; |
1131 | 1131 | ||
1132 | sync_filesystem(sb); | ||
1132 | old_sb_flags = sb->s_flags; | 1133 | old_sb_flags = sb->s_flags; |
1133 | old_mount_opt = nilfs->ns_mount_opt; | 1134 | old_mount_opt = nilfs->ns_mount_opt; |
1134 | 1135 | ||