]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:locking: log g_lock_dump() error in locking_tdb_data_fetch() 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)
This should never fail without notice...

Note we already checked for NT_STATUS_NOT_FOUND before.

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 8df51a985894bfcf5635ebdf976f832313b0e75e..4aa11e2d097395a51f068b83d51083a9d428242f 100644 (file)
@@ -500,7 +500,8 @@ static NTSTATUS locking_tdb_data_fetch(
                goto done;
        }
        if (!NT_STATUS_IS_OK(status)) {
-               DBG_DEBUG("g_lock_dump failed: %s\n", nt_errstr(status));
+               DBG_ERR("g_lock_dump failed: %s\n",
+                       nt_errstr(status));
                return status;
        }
        if (state.datalen == 0) {