[CDFS]
[reactos.git] / reactos / drivers / filesystems / cdfs / fcb.c
index 1719b06..3f75b6e 100644 (file)
@@ -491,7 +491,7 @@ CdfsDirFindFile(PDEVICE_EXTENSION DeviceExt,
 
     _SEH2_TRY
     {
-        CcMapData(DeviceExt->StreamFileObject, &StreamOffset, BLOCKSIZE, TRUE, &Context, &Block);
+        CcMapData(DeviceExt->StreamFileObject, &StreamOffset, BLOCKSIZE, MAP_WAIT, &Context, &Block);
     }
     _SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
     {
@@ -577,7 +577,7 @@ CdfsDirFindFile(PDEVICE_EXTENSION DeviceExt,
 
             _SEH2_TRY
             {
-                CcMapData(DeviceExt->StreamFileObject, &StreamOffset, BLOCKSIZE, TRUE, &Context, &Block);
+                CcMapData(DeviceExt->StreamFileObject, &StreamOffset, BLOCKSIZE, MAP_WAIT, &Context, &Block);
             }
             _SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
             {