s3/locking: add share_entry_forall_read() and share_entry_forall() varients
commit79d7d26fd193103ae74d754c5fbe851deeb1d9a5
authorRalph Boehme <slow@samba.org>
Sun, 13 Oct 2024 09:11:32 +0000 (13 11:11 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 5 Nov 2024 14:39:30 +0000 (5 14:39 +0000)
tree4e9775db2cbbd1ecf088205c9deac575134106f8
parent8d744549420b3be4b4e01ac7165e04ab845ada93
s3/locking: add share_entry_forall_read() and share_entry_forall() varients

All existing callers use share_entry_forall_read, so no change in behaviour.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/locking/share_mode_lock.c
source3/locking/share_mode_lock.h
source3/rpc_server/srvsvc/srv_srvsvc_nt.c
source3/utils/status.c