Author: pschweitzer
Date: Sun Jul 10 18:06:47 2016
New Revision: 71889
URL:
http://svn.reactos.org/svn/reactos?rev=71889&view=rev
Log:
[CDFS]
CcMapData 4th arg isn't a boolean but a flag. Fix it accordingly
Modified:
trunk/reactos/drivers/filesystems/cdfs/dirctl.c
trunk/reactos/drivers/filesystems/cdfs/fcb.c
Modified: trunk/reactos/drivers/filesystems/cdfs/dirctl.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/cdfs/d…
==============================================================================
--- trunk/reactos/drivers/filesystems/cdfs/dirctl.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/cdfs/dirctl.c [iso-8859-1] Sun Jul 10 18:06:47 2016
@@ -77,7 +77,7 @@
*CurrentOffset = ROUND_UP(*CurrentOffset, BLOCKSIZE);
_SEH2_TRY
{
- CcMapData(DeviceExt->StreamFileObject, StreamOffset, BLOCKSIZE,
TRUE, Context, Block);
+ CcMapData(DeviceExt->StreamFileObject, StreamOffset, BLOCKSIZE,
MAP_WAIT, Context, Block);
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
@@ -103,7 +103,7 @@
*CurrentOffset = ROUND_UP(*CurrentOffset, BLOCKSIZE);
_SEH2_TRY
{
- CcMapData(DeviceExt->StreamFileObject, StreamOffset, BLOCKSIZE, TRUE,
Context, Block);
+ CcMapData(DeviceExt->StreamFileObject, StreamOffset, BLOCKSIZE, MAP_WAIT,
Context, Block);
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
@@ -237,7 +237,7 @@
_SEH2_TRY
{
- CcMapData(DeviceExt->StreamFileObject, &StreamOffset, BLOCKSIZE, TRUE,
&Context, &Block);
+ CcMapData(DeviceExt->StreamFileObject, &StreamOffset, BLOCKSIZE, MAP_WAIT,
&Context, &Block);
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{
Modified: trunk/reactos/drivers/filesystems/cdfs/fcb.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/cdfs/f…
==============================================================================
--- trunk/reactos/drivers/filesystems/cdfs/fcb.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/cdfs/fcb.c [iso-8859-1] Sun Jul 10 18:06:47 2016
@@ -491,7 +491,7 @@
_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 @@
_SEH2_TRY
{
- CcMapData(DeviceExt->StreamFileObject, &StreamOffset, BLOCKSIZE,
TRUE, &Context, &Block);
+ CcMapData(DeviceExt->StreamFileObject, &StreamOffset, BLOCKSIZE,
MAP_WAIT, &Context, &Block);
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{