Author: cgutman
Date: Tue Sep 9 14:44:15 2008
New Revision: 36093
URL:
http://svn.reactos.org/svn/reactos?rev=36093&view=rev
Log:
- Fix a typo which resulted in a read irp being locked with IoWriteAccess and a write irp
being locked with IoReadAccess
Modified:
trunk/reactos/ntoskrnl/io/iomgr/irp.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/irp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/irp.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/irp.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/irp.c [iso-8859-1] Tue Sep 9 14:44:15 2008
@@ -691,7 +691,7 @@
MmProbeAndLockPages(Irp->MdlAddress,
KernelMode,
MajorFunction == IRP_MJ_READ ?
- IoWriteAccess : IoReadAccess);
+ IoReadAccess : IoWriteAccess);
}
_SEH_HANDLE
{