projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fs: push sync_filesystem() down to the file system's remount_fs()
[firefly-linux-kernel-4.4.55.git]
/
fs
/
squashfs
/
super.c
diff --git
a/fs/squashfs/super.c
b/fs/squashfs/super.c
index 202df6312d4e8517a63bb9ff10b385738e54ab6e..031c8d67fd5178bb5afca2b04c71637254b46873 100644
(file)
--- a/
fs/squashfs/super.c
+++ b/
fs/squashfs/super.c
@@
-371,6
+371,7
@@
static int squashfs_statfs(struct dentry *dentry, struct kstatfs *buf)
static int squashfs_remount(struct super_block *sb, int *flags, char *data)
{
+ sync_filesystem(sb);
*flags |= MS_RDONLY;
return 0;
}