From: Andreas Schneider Date: Mon, 15 May 2017 08:49:07 +0000 (+0200) Subject: lib:util: Rename smb_load_modules() X-Git-Tag: ldb-1.1.31~160 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da9de19cf9a0b543eec9003f10624fa2ba5becd3;p=thirdparty%2Fsamba.git lib:util: Rename smb_load_modules() BUG: https://bugzilla.samba.org/show_bug.cgi?id=12780 Signed-off-by: Andreas Schneider Reviewed-by: Jeremy Allison --- diff --git a/lib/util/modules.c b/lib/util/modules.c index c693e5f32bb..e8a86c47fdf 100644 --- a/lib/util/modules.c +++ b/lib/util/modules.c @@ -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; diff --git a/lib/util/samba_modules.h b/lib/util/samba_modules.h index 1ae9c6e0e90..d7a452159ab 100644 --- a/lib/util/samba_modules.h +++ b/lib/util/samba_modules.h @@ -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); diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 8f097ecbc00..d5c03b94199 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -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();