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