]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/efs/super.c
fs: push sync_filesystem() down to the file system's remount_fs()
[karo-tx-linux.git] / fs / efs / super.c
index 50215bbd646313fdad24ae3b521af017b834bcf9..103bbd820b87c38f9923382231299e0e51360336 100644 (file)
@@ -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;
 }