[ros-diffs] [hbirr] 14990: - Return the length in
VfatDirectoryControl.
hbirr at svn.reactos.com
hbirr at svn.reactos.com
Thu May 5 13:05:07 CEST 2005
- 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);
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050505/7b8c428b/attachment.html
More information about the Ros-diffs
mailing list