I can't get the logic behind this change. Can you explain?
Am 07.06.2011 00:55, schrieb cgutman(a)svn.reactos.org:
Author: cgutman
Date: Mon Jun 6 22:55:17 2011
New Revision: 52125
URL:
http://svn.reactos.org/svn/reactos?rev=52125&view=rev
Log:
[AFD]
- Fix IoModifyAccess vs IoReadAccess confusion
Modified:
trunk/reactos/drivers/network/afd/afd/lock.c
Modified: trunk/reactos/drivers/network/afd/afd/lock.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/afd/afd/lo…
==============================================================================
--- trunk/reactos/drivers/network/afd/afd/lock.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/afd/afd/lock.c [iso-8859-1] Mon Jun 6 22:55:17 2011
@@ -123,7 +123,7 @@
AFD_DbgPrint(MID_TRACE,("Probe and lock pages\n"));
_SEH2_TRY {
MmProbeAndLockPages( MapBuf[i].Mdl, KernelMode,
- Write ? IoModifyAccess : IoReadAccess );
+ Write ? IoReadAccess : IoModifyAccess );
} _SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER) {
LockFailed = TRUE;
} _SEH2_END;