fs: push sync_filesystem() down to the file system's remount_fs()
[deliverable/linux.git] / fs / ubifs / super.c
index 5ded8490c0c66cca3a6dea286aec8e700bc24e44..e1598abd74752c25fd12257eef3a1ba576893dda 100644 (file)
@@ -1827,6 +1827,7 @@ static int ubifs_remount_fs(struct super_block *sb, int *flags, char *data)
        int err;
        struct ubifs_info *c = sb->s_fs_info;
 
+       sync_filesystem(sb);
        dbg_gen("old flags %#lx, new flags %#x", sb->s_flags, *flags);
 
        err = ubifs_parse_options(c, data, 1);
This page took 0.029752 seconds and 5 git commands to generate.