mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
- Forgot this file.
- Prepared cdfs for using CcInitializeCacheMap/CcUninitializeCacheMap instead of CcRosInitializeFileCache/CcRosReleaseFileCache. svn path=/trunk/; revision=13531
This commit is contained in:
parent
11aca778bc
commit
4267da8a2f
1 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue