[NTFS]
authorPierre Schweitzer <pierre@reactos.org>
Sun, 10 May 2015 10:30:40 +0000 (10:30 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Sun, 10 May 2015 10:30:40 +0000 (10:30 +0000)
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

index 3931a2a..03126df 100644 (file)
@@ -301,16 +301,12 @@ NtfsQueryInformation(PNTFS_IRP_CONTEXT IrpContext)
             Status = STATUS_INVALID_PARAMETER;
     }
 
             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;
 
     if (NT_SUCCESS(Status))
         Irp->IoStatus.Information =
             Stack->Parameters.QueryFile.Length - BufferLength;
     else
         Irp->IoStatus.Information = 0;
 
-    IoCompleteRequest(Irp, IO_NO_INCREMENT);
-
     return Status;
 }
 
     return Status;
 }