summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--util.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6854858..33e729b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,8 @@
Changes Prior to 1.10.0 release
- Fix bug with --config=partitions
- Open sub-devices with O_EXCL to detect if already in use
-
+ - Make sure superblock updates are flushed directly to disk.
+
Changes Prior to 1.9.0 release
- Fix rpm build problem (stray %)
- Minor manpage updates
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;
}