s3:share_mode_lock: consistently debug share_mode_entry records
commit4d740ac2084a68c6d4836cd83ea5d5f1ee9d37a2
authorStefan Metzmacher <metze@samba.org>
Fri, 28 Aug 2020 13:56:35 +0000 (28 15:56 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 31 Aug 2020 11:57:01 +0000 (31 11:57 +0000)
tree584434c10abe108da1b387a5eb46c56eed18181f
parentdeb2f782c95a5e59a0a5da4272239c2d31bc2b6d
s3:share_mode_lock: consistently debug share_mode_entry records

share_mode_entry_do(), share_mode_forall_entries() and
share_entry_forall() print the record before the callback is called
and when it was modified or deleted.

This makes it much easier to debug problems.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/locking/share_mode_lock.c