0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-02 13:48:53 +02:00

ircd::db: Use proper fs::sync() for sync requests.

This commit is contained in:
Jason Volk 2018-12-12 10:56:39 -08:00
parent b80735c575
commit df36a6a4ac

View file

@ -4785,7 +4785,7 @@ noexcept try
#endif
fs::fsync_opts opts;
fs::fdsync(fd, opts);
fs::sync(fd, opts);
return Status::OK();
}
catch(const fs::error &e)
@ -7000,7 +7000,7 @@ noexcept try
#endif
fs::fsync_opts opts;
fs::fdsync(fd, opts);
fs::sync(fd, opts);
return Status::OK();
}
catch(const fs::error &e)