- Return the length in VfatDirectoryControl.
Modified: trunk/reactos/drivers/fs/vfat/dir.c
_____
Modified: trunk/reactos/drivers/fs/vfat/dir.c
--- trunk/reactos/drivers/fs/vfat/dir.c 2005-05-05 11:03:27 UTC (rev
14989)
+++ trunk/reactos/drivers/fs/vfat/dir.c 2005-05-05 11:05:05 UTC (rev
14990)
@@ -482,6 +482,8 @@
if (FileIndex > 0)
{
RC = STATUS_SUCCESS;
+ IrpContext->Irp->IoStatus.Information =
Stack->Parameters.QueryDirectory.Length - BufferLength;
+
}
ExReleaseResourceLite(&pFcb->MainResource);
return RC;
@@ -495,6 +497,7 @@
{
NTSTATUS RC = STATUS_SUCCESS;
CHECKPOINT;
+ IrpContext->Irp->IoStatus.Information = 0;
switch (IrpContext->MinorFunction)
{
case IRP_MN_QUERY_DIRECTORY:
@@ -518,7 +521,6 @@
else
{
IrpContext->Irp->IoStatus.Status = RC;
- IrpContext->Irp->IoStatus.Information = 0;
IoCompleteRequest (IrpContext->Irp, IO_NO_INCREMENT);
VfatFreeIrpContext(IrpContext);
}
Show replies by date