This commit is contained in:
Bill Zissimopoulos
2016-01-03 17:36:25 -08:00
parent 754d7c748b
commit 40a99275f1
2 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ static NTSTATUS FspGetFileSecurityDescriptor(FSP_FILE_SYSTEM *FileSystem,
{
for (;;)
{
NTSTATUS Result = FileSystem->Interface->QuerySecurity(FileSystem,
NTSTATUS Result = FileSystem->Interface->GetSecurity(FileSystem,
FileName,
OWNER_SECURITY_INFORMATION | GROUP_SECURITY_INFORMATION | DACL_SECURITY_INFORMATION,
*PSecurityDescriptor, PSecurityDescriptorSize);
@ -45,7 +45,7 @@ FSP_API NTSTATUS FspAccessCheck(FSP_FILE_SYSTEM *FileSystem,
if (0 != FileSystem->Interface->AccessCheck)
return FileSystem->Interface->AccessCheck(FileSystem, Request, DesiredAccess, PGrantedAccess);
if (0 == FileSystem->Interface->QuerySecurity)
if (0 == FileSystem->Interface->GetSecurity)
{
*PGrantedAccess = DesiredAccess;
return STATUS_SUCCESS;