oops - missed a spot

This commit is contained in:
James Golick 2013-12-11 11:18:00 -08:00
parent 43c386b72e
commit c28dd2a891

View File

@ -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;