mirror of
https://github.com/winfsp/winfsp.git
synced 2026-11-08 01:56:40 -06:00
sys, dll: add AllocationSize, FileSize in Response::Rsp::Create::Opened
This commit is contained in:
1 parent
d88831bd33
commit
30662ac9fa
4 files changed
+17
-4
No files matched your search
@@ -382,6 +382,9 @@ VOID FspFsvolCreateComplete(
|
||||
/* get the FsContext from our Request and associate it with the Response UserContext */
|
||||
Request = FspIrpRequest(Irp);
|
||||
FsContext = FspIopRequestContext(Request, RequestFsContext);
|
||||
FsContext->Header.AllocationSize.QuadPart = Response->Rsp.Create.Opened.AllocationSize;
|
||||
FsContext->Header.FileSize.QuadPart = FsContext->Header.ValidDataLength.QuadPart =
|
||||
Response->Rsp.Create.Opened.AllocationSize;
|
||||
FsContext->UserContext = Response->Rsp.Create.Opened.UserContext;
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user