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:
parent
ca2dce3147
commit
96fe423913
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user