1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

s3:locking: log all share_mode_forall_entries() errors at level 0

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>
This commit is contained in:
Stefan Metzmacher 2022-09-10 20:39:19 +02:00 committed by Jeremy Allison
parent ca2dce3147
commit 96fe423913
2 changed files with 2 additions and 1 deletions

View File

@ -716,6 +716,7 @@ NTSTATUS remove_lease_if_stale(struct share_mode_lock *lck,
ok = share_mode_forall_entries(lck, find_lease_ref_fn, &state);
if (!ok) {
DBG_ERR("share_mode_forall_entries failed\n");
return NT_STATUS_INTERNAL_ERROR;
}

View File

@ -1692,7 +1692,7 @@ static int share_entry_traverse_fn(struct file_id fid,
ok = share_mode_forall_entries(
&lck, share_entry_traverse_walker, state);
if (!ok) {
DBG_DEBUG("share_mode_forall_entries failed\n");
DBG_ERR("share_mode_forall_entries failed\n");
return false;
}