diff --git a/reactos/drivers/filesystems/ntfs/finfo.c b/reactos/drivers/filesystems/ntfs/finfo.c index 3931a2a4e5a..03126dfb069 100644 --- a/reactos/drivers/filesystems/ntfs/finfo.c +++ b/reactos/drivers/filesystems/ntfs/finfo.c @@ -301,16 +301,12 @@ NtfsQueryInformation(PNTFS_IRP_CONTEXT IrpContext) Status = STATUS_INVALID_PARAMETER; } - Irp->IoStatus.Status = Status; - if (NT_SUCCESS(Status)) Irp->IoStatus.Information = Stack->Parameters.QueryFile.Length - BufferLength; else Irp->IoStatus.Information = 0; - IoCompleteRequest(Irp, IO_NO_INCREMENT); - return Status; }