[freeldr] Disable NTFS cache because it gives wrong results

svn path=/trunk/; revision=47364
This commit is contained in:
Hervé Poussineau
2010-05-26 19:56:07 +00:00
parent 21e28a541f
commit 82c609eda0
+3 -1
View File
@@ -232,7 +232,9 @@ static ULONGLONG NtfsReadAttribute(PNTFS_VOLUME_INFO Volume, PNTFS_ATTR_CONTEXT
AlreadyRead = 0;
if(Context->CacheRunOffset <= Offset && Offset < Context->CacheRunOffset + Context->CacheRunLength * Volume->ClusterSize)
// FIXME: Cache seems to be non-working. Disable it for now
//if(Context->CacheRunOffset <= Offset && Offset < Context->CacheRunOffset + Context->CacheRunLength * Volume->ClusterSize)
if (0)
{
DataRun = Context->CacheRun;
LastLCN = Context->CacheRunLastLCN;