From ab9a6623a234d3a1416aca5047cea175d799afa7 Mon Sep 17 00:00:00 2001 From: Vizzini Date: Wed, 10 Mar 2004 20:17:26 +0000 Subject: [PATCH] Properly set the length of the transfer so FastFat won't assert on us svn path=/trunk/; revision=8627 --- reactos/drivers/storage/floppy/readwrite.c | 1 + 1 file changed, 1 insertion(+) diff --git a/reactos/drivers/storage/floppy/readwrite.c b/reactos/drivers/storage/floppy/readwrite.c index 89513078944..499c59f1e86 100644 --- a/reactos/drivers/storage/floppy/readwrite.c +++ b/reactos/drivers/storage/floppy/readwrite.c @@ -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); }