oops - missed a spot
This commit is contained in:
parent
43c386b72e
commit
c28dd2a891
@ -1297,7 +1297,7 @@ class PosixEnv : public Env {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool SupportsFastAllocate(const std::string& path) {
|
bool SupportsFastAllocate(const std::string& path) {
|
||||||
#ifdef OS_LINUX
|
#ifdef ROCKSDB_FALLOCATE_PRESENT
|
||||||
struct statfs s;
|
struct statfs s;
|
||||||
if (statfs(path.c_str(), &s)){
|
if (statfs(path.c_str(), &s)){
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user