Merge "fiemap: add fsync after write split file name"
This commit is contained in:
commit
edefadd242
1 changed files with 1 additions and 0 deletions
|
|
@ -136,6 +136,7 @@ FiemapStatus SplitFiemap::Create(const std::string& file_path, uint64_t file_siz
|
|||
return FiemapStatus::FromErrno(errno);
|
||||
}
|
||||
}
|
||||
fsync(fd.get());
|
||||
|
||||
// Unset this bit, so we don't unlink on destruction.
|
||||
out->creating_ = false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue