]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/hfsplus/super.c
fs: push sync_filesystem() down to the file system's remount_fs()
[mirror_ubuntu-artful-kernel.git] / fs / hfsplus / super.c
index 80875aa640efc0f5831daa3fb919940d8d85e25b..8eb787b52c058a607c10dca255232901d7a1a4de 100644 (file)
@@ -323,6 +323,7 @@ static int hfsplus_statfs(struct dentry *dentry, struct kstatfs *buf)
 
 static int hfsplus_remount(struct super_block *sb, int *flags, char *data)
 {
+       sync_filesystem(sb);
        if ((*flags & MS_RDONLY) == (sb->s_flags & MS_RDONLY))
                return 0;
        if (!(*flags & MS_RDONLY)) {