From 2225244d035070105659742ef9d8ff8a971f36fd Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Sun, 10 May 2015 10:30:40 +0000 Subject: [PATCH] [NTFS] Addendum to r67540: don't complete the IRP twice (NtfsQueryInformation() + NtfsFsdDispatch()). This fixes regression svn path=/trunk/; revision=67617 --- reactos/drivers/filesystems/ntfs/finfo.c | 4 ---- 1 file changed, 4 deletions(-) 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; }