VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Theodore Ts'o <tytso@mit.edu> 2014-03-13 10:14:33 -0400 committer: Theodore Ts'o <tytso@mit.edu> 2014-03-13 10:14:33 -0400 commit: 02b9984d640873b7b3809e63f81a0d7e13496886 parent: 66a4cb187b92ca8663203fe8fda621e6585a2a00
Commit Summary:
fs: push sync_filesystem() down to the file system's remount_fs()
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/fs/hfs/super.c b/fs/hfs/super.c
index 2d2039e754cd..eee7206c38d1 100644
--- a/fs/hfs/super.c
+++ b/fs/hfs/super.c
@@ -112,6 +112,7 @@ static int hfs_statfs(struct dentry *dentry, struct kstatfs *buf)
 
 static int hfs_remount(struct super_block *sb, int *flags, char *data)
 {
+	sync_filesystem(sb);
 	*flags |= MS_NODIRATIME;
 	if ((*flags & MS_RDONLY) == (sb->s_flags & MS_RDONLY))
 		return 0;