]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/nilfs2/super.c
fs: push sync_filesystem() down to the file system's remount_fs()
[mirror_ubuntu-zesty-kernel.git] / fs / nilfs2 / super.c
index 7ac2a122ca1dd1ce042005600d1396990d0ec3a4..8c532b2ca3aba1c1a4c6e162641e3eb7d009f91c 100644 (file)
@@ -1129,6 +1129,7 @@ static int nilfs_remount(struct super_block *sb, int *flags, char *data)
        unsigned long old_mount_opt;
        int err;
 
+       sync_filesystem(sb);
        old_sb_flags = sb->s_flags;
        old_mount_opt = nilfs->ns_mount_opt;