Addendum to r67540: don't complete the IRP twice (NtfsQueryInformation() + NtfsFsdDispatch()).
This fixes regression

svn path=/trunk/; revision=67617
This commit is contained in:
Pierre Schweitzer 2015-05-10 10:30:40 +00:00
parent 32bc389748
commit 2225244d03

View file

@ -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;
}