sys: IRP_MJ_WRITE, IRP_MJ_READ: testing

This commit is contained in:
Bill Zissimopoulos
2016-03-07 18:34:24 -08:00
parent 9aca7e2e81
commit 1ad09f9b99
3 changed files with 3 additions and 2 deletions

View File

@ -197,7 +197,7 @@ static NTSTATUS FspFsvolReadNonCached(
if (0 == Irp->MdlAddress)
{
Result = FspLockUserBuffer(Irp->UserBuffer, ReadLength,
Irp->RequestorMode, IoReadAccess, &Irp->MdlAddress);
Irp->RequestorMode, IoWriteAccess, &Irp->MdlAddress);
if (!NT_SUCCESS(Result))
return Result;
}