mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
Set the correct CurrentVa in the call to IoFlushAdapterBuffers.
svn path=/trunk/; revision=14504
This commit is contained in:
parent
e1d5086ebf
commit
1a0cac4ee8
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue