From: Stefan Metzmacher Date: Sat, 10 Sep 2022 18:39:19 +0000 (+0200) Subject: s3:locking: log g_lock_locks() error at level 0 X-Git-Tag: talloc-2.4.0~916 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e12c3b56daed806b79076ad8f0fd7c0c9bbb4ae4;p=thirdparty%2Fsamba.git s3:locking: log g_lock_locks() error at level 0 These should never fail without notice... BUG: https://bugzilla.samba.org/show_bug.cgi?id=15125 Signed-off-by: Stefan Metzmacher Reviewed-by: Jeremy Allison --- diff --git a/source3/locking/share_mode_lock.c b/source3/locking/share_mode_lock.c index 46e20ddc44b..848f86dca2a 100644 --- a/source3/locking/share_mode_lock.c +++ b/source3/locking/share_mode_lock.c @@ -1647,7 +1647,7 @@ int share_mode_forall(int (*fn)(struct file_id fid, ret = g_lock_locks( lock_ctx, share_mode_forall_fn, &state); if (ret < 0) { - DBG_DEBUG("g_lock_locks failed\n"); + DBG_ERR("g_lock_locks failed\n"); } return ret; }