mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 08:23:05 -05:00
tst: ntptfs: SetEa: ensure that FileInfo is filled
This commit is contained in:
parent
cb98f711f7
commit
4de72f7c32
@ -1064,12 +1064,20 @@ static NTSTATUS SetEa(FSP_FILE_SYSTEM *FileSystem,
|
||||
{
|
||||
HANDLE Handle = FileContextHandle;
|
||||
IO_STATUS_BLOCK Iosb;
|
||||
NTSTATUS Result;
|
||||
|
||||
return NtSetEaFile(
|
||||
Result = NtSetEaFile(
|
||||
Handle,
|
||||
&Iosb,
|
||||
Ea,
|
||||
EaLength);
|
||||
if (!NT_SUCCESS(Result))
|
||||
goto exit;
|
||||
|
||||
Result = LfsGetFileInfo(Handle, -1, FileInfo);
|
||||
|
||||
exit:
|
||||
return Result;
|
||||
}
|
||||
|
||||
static FSP_FILE_SYSTEM_INTERFACE PtfsInterface =
|
||||
|
Loading…
x
Reference in New Issue
Block a user