summaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util.c b/util.c
index 05eb9c9..d5e2910 100644
--- a/util.c
+++ b/util.c
@@ -278,6 +278,7 @@ int store_super(int fd, mdp_super_t *super)
if (write(fd, super, sizeof(*super)) != sizeof(*super))
return 4;
+ fsync(fd);
return 0;
}