https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1348f62f20075eb51eb4a1b4f50a67f82cccc087
commit 1348f62f20075eb51eb4a1b4f50a67f82cccc087 Author: Pierre Schweitzer <pie...@reactos.org> AuthorDate: Wed Oct 3 10:15:30 2018 +0200 Commit: Pierre Schweitzer <pie...@reactos.org> CommitDate: Wed Oct 3 10:22:33 2018 +0200 [NTOSKRNL] Rename IopQueryNameFile to IopQueryNameInternal --- ntoskrnl/include/internal/io.h | 2 +- ntoskrnl/io/iomgr/file.c | 12 ++++++------ ntoskrnl/io/iomgr/iomgr.c | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ntoskrnl/include/internal/io.h b/ntoskrnl/include/internal/io.h index 97df17f2ea..29ecb808f9 100644 --- a/ntoskrnl/include/internal/io.h +++ b/ntoskrnl/include/internal/io.h @@ -1219,7 +1219,7 @@ IopGetSetSecurityObject( NTSTATUS NTAPI -IopQueryNameFile( +IopQueryNameInternal( IN PVOID ObjectBody, IN BOOLEAN HasName, OUT POBJECT_NAME_INFORMATION ObjectNameInfo, diff --git a/ntoskrnl/io/iomgr/file.c b/ntoskrnl/io/iomgr/file.c index 6133c9e45d..4cbdb640a1 100644 --- a/ntoskrnl/io/iomgr/file.c +++ b/ntoskrnl/io/iomgr/file.c @@ -1869,12 +1869,12 @@ IopGetSetSecurityObject(IN PVOID ObjectBody, NTSTATUS NTAPI -IopQueryNameFile(IN PVOID ObjectBody, - IN BOOLEAN HasName, - OUT POBJECT_NAME_INFORMATION ObjectNameInfo, - IN ULONG Length, - OUT PULONG ReturnLength, - IN KPROCESSOR_MODE PreviousMode) +IopQueryNameInternal(IN PVOID ObjectBody, + IN BOOLEAN HasName, + OUT POBJECT_NAME_INFORMATION ObjectNameInfo, + IN ULONG Length, + OUT PULONG ReturnLength, + IN KPROCESSOR_MODE PreviousMode) { POBJECT_NAME_INFORMATION LocalInfo; PFILE_NAME_INFORMATION LocalFileInfo; diff --git a/ntoskrnl/io/iomgr/iomgr.c b/ntoskrnl/io/iomgr/iomgr.c index 292c947036..fec80855ae 100644 --- a/ntoskrnl/io/iomgr/iomgr.c +++ b/ntoskrnl/io/iomgr/iomgr.c @@ -317,7 +317,7 @@ IopCreateObjectTypes(VOID) ObjectTypeInitializer.CloseProcedure = IopCloseFile; ObjectTypeInitializer.DeleteProcedure = IopDeleteFile; ObjectTypeInitializer.SecurityProcedure = IopGetSetSecurityObject; - ObjectTypeInitializer.QueryNameProcedure = IopQueryNameFile; + ObjectTypeInitializer.QueryNameProcedure = IopQueryNameInternal; ObjectTypeInitializer.ParseProcedure = IopParseFile; ObjectTypeInitializer.UseDefaultObject = FALSE; if (!NT_SUCCESS(ObCreateObjectType(&Name,