mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 07:52:56 +00:00
Properly set the length of the transfer so FastFat won't assert on us
svn path=/trunk/; revision=8627
This commit is contained in:
parent
1984d3c175
commit
ab9a6623a2
1 changed files with 1 additions and 0 deletions
|
@ -708,6 +708,7 @@ VOID NTAPI ReadWritePassive(PDRIVE_INFO DriveInfo,
|
||||||
/* That's all folks! */
|
/* That's all folks! */
|
||||||
KdPrint(("floppy: ReadWritePassive(): success; Completing with STATUS_SUCCESS\n"));
|
KdPrint(("floppy: ReadWritePassive(): success; Completing with STATUS_SUCCESS\n"));
|
||||||
Irp->IoStatus.Status = STATUS_SUCCESS;
|
Irp->IoStatus.Status = STATUS_SUCCESS;
|
||||||
|
Irp->IoStatus.Information = Length;
|
||||||
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
||||||
StopMotor(DriveInfo->ControllerInfo);
|
StopMotor(DriveInfo->ControllerInfo);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue