lib:util: Rename smb_load_modules()
authorAndreas Schneider <asn@samba.org>
Mon, 15 May 2017 08:49:07 +0000 (10:49 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 6 Jun 2017 16:36:06 +0000 (18:36 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12780

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/util/modules.c
lib/util/samba_modules.h
source3/smbd/process.c

index c693e5f32bbb3560223a679f21080c2a48914c67..e8a86c47fdf3794d4781b037b4d50828377b6e93 100644 (file)
@@ -237,7 +237,7 @@ static NTSTATUS do_smb_load_module(const char *subsystem,
 
 /* Load all modules in list and return number of
  * modules that has been successfully loaded */
-int smb_load_modules(const char **modules)
+int smb_load_all_modules_absoute_path(const char **modules)
 {
        int i;
        int success = 0;
index 1ae9c6e0e90c4dea1ed84bb6565f87b85cb57cf8..d7a452159abef2b984af780006bdfd44e139695e 100644 (file)
@@ -53,7 +53,7 @@ bool run_init_functions(TALLOC_CTX *ctx, init_module_fn *fns);
  */
 init_module_fn *load_samba_modules(TALLOC_CTX *mem_ctx, const char *subsystem);
 
-int smb_load_modules(const char **modules);
+int smb_load_all_modules_absoute_path(const char **modules);
 NTSTATUS smb_probe_module(const char *subsystem, const char *module);
 NTSTATUS smb_load_module(const char *subsystem, const char *module);
 
index 8f097ecbc00a87d450336252b9afa31362f3e8c9..d5c03b941991df6c0bc6518bf9e48515c64c579b 100644 (file)
@@ -4018,7 +4018,7 @@ void smbd_process(struct tevent_context *ev_ctx,
                           locaddr);
 
        if (lp_preload_modules()) {
-               smb_load_modules(lp_preload_modules());
+               smb_load_all_modules_absoute_path(lp_preload_modules());
        }
 
        smb_perfcount_init();