mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-08 04:52:10 -05:00
tst: memfs: GetSecurityByName: reparse point fix
This commit is contained in:
parent
aeff3dc21e
commit
49cd11b34b
@ -333,10 +333,11 @@ static NTSTATUS GetSecurityByName(FSP_FILE_SYSTEM *FileSystem,
|
|||||||
{
|
{
|
||||||
Result = STATUS_OBJECT_NAME_NOT_FOUND;
|
Result = STATUS_OBJECT_NAME_NOT_FOUND;
|
||||||
|
|
||||||
if (!MemfsFileNodeMapGetParent(Memfs->FileNodeMap, FileName, &Result) &&
|
if (FspFileSystemFindReparsePoint(FileSystem, GetReparsePointByName, 0,
|
||||||
FspFileSystemFindReparsePoint(FileSystem, GetReparsePointByName, 0,
|
FileName, PFileAttributes))
|
||||||
FileName, PFileAttributes))
|
|
||||||
Result = STATUS_REPARSE;
|
Result = STATUS_REPARSE;
|
||||||
|
else
|
||||||
|
MemfsFileNodeMapGetParent(Memfs->FileNodeMap, FileName, &Result);
|
||||||
|
|
||||||
return Result;
|
return Result;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user