[5/6] Sync blocks on remount
diff mbox series

Message ID 20191009133157.14028-6-philipp.ammann@posteo.de
State New
Headers show
Series
  • Various exfat fixes
Related show

Commit Message

Philipp Ammann Oct. 9, 2019, 1:31 p.m. UTC
From: Andreas Schneider <asn@cryptomilk.org>

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
---
 drivers/staging/exfat/exfat_super.c | 2 ++
 1 file changed, 2 insertions(+)

Patch
diff mbox series

diff --git a/drivers/staging/exfat/exfat_super.c b/drivers/staging/exfat/exfat_super.c
index 29fb5e88fe5f..e8e481a5ddc9 100644
--- a/drivers/staging/exfat/exfat_super.c
+++ b/drivers/staging/exfat/exfat_super.c
@@ -3532,6 +3532,8 @@  static int exfat_statfs(struct dentry *dentry, struct kstatfs *buf)
 static int exfat_remount(struct super_block *sb, int *flags, char *data)
 {
 	*flags |= SB_NODIRATIME;
+	sync_filesystem(sb);
+
 	return 0;
 }