Author: rharabien
Date: Thu May 26 20:59:48 2011
New Revision: 51933
URL:
http://svn.reactos.org/svn/reactos?rev=51933&view=rev
Log:
[FASTFAT]
- Use constant instead of magic number
Modified:
trunk/reactos/drivers/filesystems/fastfat/fat.c
Modified: trunk/reactos/drivers/filesystems/fastfat/fat.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfa…
==============================================================================
--- trunk/reactos/drivers/filesystems/fastfat/fat.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/fastfat/fat.c [iso-8859-1] Thu May 26 20:59:48 2011
@@ -66,7 +66,7 @@
ChunkSize = CACHEPAGESIZE(DeviceExt);
FATOffset = CurrentCluster * 2;
Offset.QuadPart = ROUND_DOWN(FATOffset, ChunkSize);
- if(!CcMapData(DeviceExt->FATFileObject, &Offset, ChunkSize, 1, &Context,
&BaseAddress))
+ if(!CcMapData(DeviceExt->FATFileObject, &Offset, ChunkSize, MAP_WAIT,
&Context, &BaseAddress))
{
return STATUS_UNSUCCESSFUL;
}