X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=fs%2Fhfsplus%2Fsuper.c;h=a513d2d36be956c0a82314d786941ceb0b9f8990;hb=1e83d48b5e84e4c71a073e35ea4e2e6d0a1bdaac;hp=a6abf87d79d0b4b6fb75e2cdfe15613e9def2c93;hpb=154d6f18a48e00dec2dc84a96914fe1a24669577;p=karo-tx-linux.git diff --git a/fs/hfsplus/super.c b/fs/hfsplus/super.c index a6abf87d79d0..a513d2d36be9 100644 --- a/fs/hfsplus/super.c +++ b/fs/hfsplus/super.c @@ -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)) {