mirror of
https://github.com/winfsp/winfsp.git
synced 2025-07-03 17:32:57 -05:00
inc: fsctl: simplify FSP_FSCTL_TRANSACT_RSP Rsp.Create.Reparse
This commit is contained in:
@ -117,16 +117,8 @@ NTSTATUS FspFileSystemCallResolveReparsePoints(FSP_FILE_SYSTEM *FileSystem,
|
||||
Response->IoStatus.Information = (UINT32)IoStatus.Information;
|
||||
|
||||
Response->Size = (UINT16)(sizeof *Response + Size);
|
||||
if (0/*IO_REPARSE*/ == IoStatus.Information)
|
||||
{
|
||||
Response->Rsp.Create.Reparse.FileName.Offset = 0;
|
||||
Response->Rsp.Create.Reparse.FileName.Size = (UINT16)Size;
|
||||
}
|
||||
else
|
||||
{
|
||||
Response->Rsp.Create.Reparse.Data.Offset = 0;
|
||||
Response->Rsp.Create.Reparse.Data.Size = (UINT16)Size;
|
||||
}
|
||||
Response->Rsp.Create.Reparse.Buffer.Offset = 0;
|
||||
Response->Rsp.Create.Reparse.Buffer.Size = (UINT16)Size;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user