mirror of
https://github.com/reactos/reactos.git
synced 2026-07-07 11:50:19 +08: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:
@@ -691,7 +691,7 @@ IoBuildAsynchronousFsdRequest(IN ULONG MajorFunction,
|
||||
MmProbeAndLockPages(Irp->MdlAddress,
|
||||
KernelMode,
|
||||
MajorFunction == IRP_MJ_READ ?
|
||||
IoWriteAccess : IoReadAccess);
|
||||
IoReadAccess : IoWriteAccess);
|
||||
}
|
||||
_SEH_HANDLE
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user