[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Fri Apr 14 12:29:01 UTC 2023


The branch, master has been updated
       via  45f026c45c9 debug: Only initialize gpfs wrapper when gpfs logging is enabled
      from  31418f95d3a testprogs: Set PREFIX_ABS before it is used in test_primary_group.sh

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 45f026c45c996bb65d2bd3e350587d51d6862a03
Author: Christof Schmitt <cs at samba.org>
Date:   Thu Apr 13 11:13:00 2023 -0700

    debug: Only initialize gpfs wrapper when gpfs logging is enabled
    
    This avoids unnecessary attempts to load libgpfs.so when it is not
    needed.
    
    Signed-off-by: Christof Schmitt <cs at samba.org>
    Reviewed-by: Michael Tokarev <mjt at tls.msk.ru>
    Reviewed-by: Volker Lendecke <vl at samba.org>
    
    Autobuild-User(master): Volker Lendecke <vl at samba.org>
    Autobuild-Date(master): Fri Apr 14 12:28:23 UTC 2023 on atb-devel-224

-----------------------------------------------------------------------

Summary of changes:
 lib/util/debug.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/lib/util/debug.c b/lib/util/debug.c
index 95de5ce3595..b83075cb239 100644
--- a/lib/util/debug.c
+++ b/lib/util/debug.c
@@ -406,7 +406,9 @@ static void debug_lttng_log(int msg_level, const char *msg, size_t msg_len)
 static void debug_gpfs_reload(bool enabled, bool previously_enabled,
 			      const char *prog_name, char *option)
 {
-	gpfswrap_init();
+	if (enabled) {
+		gpfswrap_init();
+	}
 
 	if (enabled && !previously_enabled) {
 		gpfswrap_init_trace();


-- 
Samba Shared Repository



More information about the samba-cvs mailing list