sys: FspSendSetInformationIrp: add DeviceObject parameter to bypass filter devices

This commit is contained in:
Bill Zissimopoulos
2016-03-15 23:59:01 -07:00
parent 12463043e4
commit a5765defd3
3 changed files with 7 additions and 7 deletions

View File

@ -169,8 +169,8 @@ static NTSTATUS FspFsvolWriteCached(
ASSERT(CanWait);
EndOfFileInformation.EndOfFile.QuadPart = WriteEndOffset;
Result = FspSendSetInformationIrp(FileObject, FileEndOfFileInformation,
&EndOfFileInformation, sizeof EndOfFileInformation);
Result = FspSendSetInformationIrp(FsvolDeviceObject/* bypass filters */, FileObject,
FileEndOfFileInformation, &EndOfFileInformation, sizeof EndOfFileInformation);
if (!NT_SUCCESS(Result))
{
FspFileNodeRelease(FileNode, Main);