mirror of
https://github.com/reactos/reactos.git
synced 2026-07-03 10:44:25 +08:00
Set the correct CurrentVa in the call to IoFlushAdapterBuffers.
svn path=/trunk/; revision=14504
This commit is contained in:
@@ -723,7 +723,7 @@ VOID NTAPI ReadWritePassive(PDRIVE_INFO DriveInfo,
|
||||
/* Read is complete; flush & free adapter channel */
|
||||
IoFlushAdapterBuffers(DriveInfo->ControllerInfo->AdapterObject, Irp->MdlAddress,
|
||||
DriveInfo->ControllerInfo->MapRegisterBase,
|
||||
MmGetMdlVirtualAddress(Irp->MdlAddress),
|
||||
(PVOID)((ULONG_PTR)MmGetMdlVirtualAddress(Irp->MdlAddress) + TransferByteOffset),
|
||||
CurrentTransferBytes, WriteToDevice);
|
||||
|
||||
/* Read the results from the drive */
|
||||
|
||||
Reference in New Issue
Block a user