]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:locking: log g_lock_locks() error at level 0
authorStefan Metzmacher <metze@samba.org>
Sat, 10 Sep 2022 18:39:19 +0000 (20:39 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 20 Sep 2022 00:34:35 +0000 (00:34 +0000)
These should never fail without notice...

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15125

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/locking/share_mode_lock.c

index 46e20ddc44b69a617250240618454e13ea553226..848f86dca2ae54cbd824990c68e73200a532247f 100644 (file)
@@ -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;
 }