- Forgot this file.

- Prepared cdfs for using CcInitializeCacheMap/CcUninitializeCacheMap instead of CcRosInitializeFileCache/CcRosReleaseFileCache.

svn path=/trunk/; revision=13531
This commit is contained in:
Hartmut Birr 2005-02-13 17:25:52 +00:00
parent 11aca778bc
commit 4267da8a2f

View file

@ -86,7 +86,15 @@ CdfsReadFile(PDEVICE_EXTENSION DeviceExt,
if (FileObject->PrivateCacheMap == NULL)
{
#ifdef ROS_USE_CC_AND_FS
CcRosInitializeFileCache(FileObject, PAGE_SIZE);
#else
CcInitializeCacheMap(FileObject,
(PCC_FILE_SIZES)(&Fcb->RFCB.AllocationSize),
FALSE,
NULL,
NULL);
#endif
}
FileOffset.QuadPart = (LONGLONG)ReadOffset;