mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 09:59:44 +00:00
[NTFS]
Don't call MmGetSystemAddressForMdl() svn path=/trunk/; revision=67644
This commit is contained in:
parent
acfb380603
commit
4daee24f06
|
@ -89,8 +89,6 @@ NtfsFsdDispatch(PDEVICE_OBJECT DeviceObject,
|
|||
((IrpContext->Flags & IRPCONTEXT_COMPLETE) && !(IrpContext->Flags & IRPCONTEXT_QUEUE)) ||
|
||||
(!(IrpContext->Flags & IRPCONTEXT_COMPLETE) && (IrpContext->Flags & IRPCONTEXT_QUEUE)));
|
||||
|
||||
|
||||
|
||||
if (IrpContext->Flags & IRPCONTEXT_COMPLETE)
|
||||
{
|
||||
Irp->IoStatus.Status = Status;
|
||||
|
|
|
@ -184,7 +184,7 @@ NtfsRead(PNTFS_IRP_CONTEXT IrpContext)
|
|||
DeviceExt = DeviceObject->DeviceExtension;
|
||||
ReadLength = Stack->Parameters.Read.Length;
|
||||
ReadOffset = Stack->Parameters.Read.ByteOffset;
|
||||
Buffer = MmGetSystemAddressForMdl(Irp->MdlAddress);
|
||||
Buffer = NtfsGetUserBuffer(Irp);
|
||||
|
||||
Status = NtfsReadFile(DeviceExt,
|
||||
FileObject,
|
||||
|
|
Loading…
Reference in a new issue