locking: Make share_mode_watch_send() take "share_mode_lock"
commit84dba041a35d75657a2738157fdddc83aeb7a2a0
authorVolker Lendecke <vl@samba.org>
Tue, 3 Nov 2020 16:36:08 +0000 (3 17:36 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 10 Nov 2020 19:49:34 +0000 (10 19:49 +0000)
treef8661e8b89fbc59d741e65ccc5a7010b1bf92d62
parent2fe1e601c90607062418cafb64cf6c063179ebde
locking: Make share_mode_watch_send() take "share_mode_lock"

This makes clear that this can only be done under a lock

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/locking/share_mode_lock.c
source3/locking/share_mode_lock.h
source3/smbd/blocking.c
source3/smbd/open.c
source3/smbd/smb2_lock.c
source3/smbd/smb2_setinfo.c