reenable dir fsync

This commit is contained in:
Glenn Maynard
2004-04-16 22:31:40 +00:00
parent c8f1fc31d3
commit 82e8261d30
+1 -3
View File
@@ -199,8 +199,7 @@ bool RageFileObjDirect::FinalFlush()
SetError( strerror(errno) );
return false;
}
#if 0
/* XXX: causing problems for some reason */
/* Wait for the directory to be flushed. */
int dirfd = open( Dirname(path), O_RDONLY );
if( dirfd == -1 )
@@ -219,7 +218,6 @@ bool RageFileObjDirect::FinalFlush()
}
close( dirfd );
#endif
return true;
}