]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/ext4/super.c
fs: push sync_filesystem() down to the file system's remount_fs()
[mirror_ubuntu-artful-kernel.git] / fs / ext4 / super.c
index 7a829f750235abdda481d1d67101f6426fa96464..a5f1170048bd479f1069b4f255a0bba3c62ac07b 100644 (file)
@@ -4765,6 +4765,8 @@ static int ext4_remount(struct super_block *sb, int *flags, char *data)
 #endif
        char *orig_data = kstrdup(data, GFP_KERNEL);
 
+       sync_filesystem(sb);
+
        /* Store the original options */
        old_sb_flags = sb->s_flags;
        old_opts.s_mount_opt = sbi->s_mount_opt;