diff options
Diffstat (limited to 'fs/hfsplus')
-rw-r--r-- | fs/hfsplus/super.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/hfsplus/super.c b/fs/hfsplus/super.c index 80875aa640ef..8eb787b52c05 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) | |||
323 | 323 | ||
324 | static int hfsplus_remount(struct super_block *sb, int *flags, char *data) | 324 | static int hfsplus_remount(struct super_block *sb, int *flags, char *data) |
325 | { | 325 | { |
326 | sync_filesystem(sb); | ||
326 | if ((*flags & MS_RDONLY) == (sb->s_flags & MS_RDONLY)) | 327 | if ((*flags & MS_RDONLY) == (sb->s_flags & MS_RDONLY)) |
327 | return 0; | 328 | return 0; |
328 | if (!(*flags & MS_RDONLY)) { | 329 | if (!(*flags & MS_RDONLY)) { |