- Fix a typo which resulted in a read irp being locked with IoWriteAccess and a write irp being locked with IoReadAccess

svn path=/trunk/; revision=36093
This commit is contained in:
Cameron Gutman 2008-09-09 19:44:15 +00:00
parent bdf36ed7e5
commit e65f8ffcb6

View file

@ -691,7 +691,7 @@ IoBuildAsynchronousFsdRequest(IN ULONG MajorFunction,
MmProbeAndLockPages(Irp->MdlAddress,
KernelMode,
MajorFunction == IRP_MJ_READ ?
IoWriteAccess : IoReadAccess);
IoReadAccess : IoWriteAccess);
}
_SEH_HANDLE
{