mirror of
https://github.com/winfsp/winfsp.git
synced 2025-07-03 09:22:57 -05:00
sys: FspSendSetInformationIrp: add DeviceObject parameter to bypass filter devices
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user