commit | edefadd24202e38343249aba97cd2d95e68adaf5 | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Mon Jul 19 18:14:49 2021 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Jul 19 18:14:49 2021 +0000 |
tree | 511818d2f7225d20ae703c62f6dac874082192f5 | |
parent | a2aba786fefb62f14bf3e6d4b6552dda78857445 [diff] | |
parent | ebff7b8b978639e0dfef828a005efa2bd5da746d [diff] |
Merge "fiemap: add fsync after write split file name"
diff --git a/fs_mgr/libfiemap/split_fiemap_writer.cpp b/fs_mgr/libfiemap/split_fiemap_writer.cpp index 36bb3df..8457066 100644 --- a/fs_mgr/libfiemap/split_fiemap_writer.cpp +++ b/fs_mgr/libfiemap/split_fiemap_writer.cpp
@@ -136,6 +136,7 @@ return FiemapStatus::FromErrno(errno); } } + fsync(fd.get()); // Unset this bit, so we don't unlink on destruction. out->creating_ = false;