summaryrefslogtreecommitdiff
path: root/fs/efs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/efs/super.c')
-rw-r--r--fs/efs/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/efs/super.c b/fs/efs/super.c
index 50215bbd6463..103bbd820b87 100644
--- a/fs/efs/super.c
+++ b/fs/efs/super.c
@@ -114,6 +114,7 @@ static void destroy_inodecache(void)
static int efs_remount(struct super_block *sb, int *flags, char *data)
{
+ sync_filesystem(sb);
*flags |= MS_RDONLY;
return 0;
}