reenable dir fsync
This commit is contained in:
@@ -199,8 +199,7 @@ bool RageFileObjDirect::FinalFlush()
|
|||||||
SetError( strerror(errno) );
|
SetError( strerror(errno) );
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
#if 0
|
|
||||||
/* XXX: causing problems for some reason */
|
|
||||||
/* Wait for the directory to be flushed. */
|
/* Wait for the directory to be flushed. */
|
||||||
int dirfd = open( Dirname(path), O_RDONLY );
|
int dirfd = open( Dirname(path), O_RDONLY );
|
||||||
if( dirfd == -1 )
|
if( dirfd == -1 )
|
||||||
@@ -219,7 +218,6 @@ bool RageFileObjDirect::FinalFlush()
|
|||||||
}
|
}
|
||||||
|
|
||||||
close( dirfd );
|
close( dirfd );
|
||||||
#endif
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user