s3:locking: make use of share_mode_lock_access_private_data() in reset_share_mode_entry()
authorStefan Metzmacher <metze@samba.org>
Fri, 26 Aug 2022 10:11:44 +0000 (12:11 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 20 Sep 2022 00:34:35 +0000 (00:34 +0000)
commit06e2aa3cba7af00bd8f9ee92496cd6e4e94f14a1
treec46bd928f582523bd2701853957f35034afa5ea4
parente6ef5474009be017a3d8dc4edbad0b15d12ae877
s3:locking: make use of share_mode_lock_access_private_data() in reset_share_mode_entry()

We should avoid dereference 'struct share_mode_lock' as much as possible.

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>
source3/locking/share_mode_lock.c