Properly set the length of the transfer so FastFat won't assert on us

svn path=/trunk/; revision=8627
This commit is contained in:
Vizzini 2004-03-10 20:17:26 +00:00
parent 1984d3c175
commit ab9a6623a2

View file

@ -708,6 +708,7 @@ VOID NTAPI ReadWritePassive(PDRIVE_INFO DriveInfo,
/* That's all folks! */
KdPrint(("floppy: ReadWritePassive(): success; Completing with STATUS_SUCCESS\n"));
Irp->IoStatus.Status = STATUS_SUCCESS;
Irp->IoStatus.Information = Length;
IoCompleteRequest(Irp, IO_NO_INCREMENT);
StopMotor(DriveInfo->ControllerInfo);
}