- Forgot this file.
- Prepared cdfs for using CcInitializeCacheMap/CcUninitializeCacheMap instead of CcRosInitializeFileCache/CcRosReleaseFileCache.
Modified: trunk/reactos/drivers/fs/cdfs/rw.c

Modified: trunk/reactos/drivers/fs/cdfs/rw.c
--- trunk/reactos/drivers/fs/cdfs/rw.c	2005-02-13 17:23:41 UTC (rev 13530)
+++ trunk/reactos/drivers/fs/cdfs/rw.c	2005-02-13 17:25:52 UTC (rev 13531)
@@ -86,7 +86,15 @@
 
       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;