mirror of
https://github.com/reactos/reactos.git
synced 2024-08-05 02:50:55 +00:00
- 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:
parent
bdf36ed7e5
commit
e65f8ffcb6
|
@ -691,7 +691,7 @@ IoBuildAsynchronousFsdRequest(IN ULONG MajorFunction,
|
||||||
MmProbeAndLockPages(Irp->MdlAddress,
|
MmProbeAndLockPages(Irp->MdlAddress,
|
||||||
KernelMode,
|
KernelMode,
|
||||||
MajorFunction == IRP_MJ_READ ?
|
MajorFunction == IRP_MJ_READ ?
|
||||||
IoWriteAccess : IoReadAccess);
|
IoReadAccess : IoWriteAccess);
|
||||||
}
|
}
|
||||||
_SEH_HANDLE
|
_SEH_HANDLE
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue