diff options
Diffstat (limited to 'fs/squashfs/super.c')
-rw-r--r-- | fs/squashfs/super.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/squashfs/super.c b/fs/squashfs/super.c index 202df6312d4e..031c8d67fd51 100644 --- a/fs/squashfs/super.c +++ b/fs/squashfs/super.c | |||
@@ -371,6 +371,7 @@ static int squashfs_statfs(struct dentry *dentry, struct kstatfs *buf) | |||
371 | 371 | ||
372 | static int squashfs_remount(struct super_block *sb, int *flags, char *data) | 372 | static int squashfs_remount(struct super_block *sb, int *flags, char *data) |
373 | { | 373 | { |
374 | sync_filesystem(sb); | ||
374 | *flags |= MS_RDONLY; | 375 | *flags |= MS_RDONLY; |
375 | return 0; | 376 | return 0; |
376 | } | 377 | } |