s3:locking: let rename_share_filename_state maintain a struct share_mode_data pointer
authorStefan Metzmacher <metze@samba.org>
Fri, 26 Aug 2022 08:21:25 +0000 (10:21 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 20 Sep 2022 00:34:35 +0000 (00:34 +0000)
commit4d697278386b924441f5119dc998f06755aee915
tree4a6e2e93ef3ea956eb5e7fc019c8f33225704365
parentb6789ff1c07202d43822c5c7cc0c51df84aba4cd
s3:locking: let rename_share_filename_state maintain a struct share_mode_data pointer

We only need to access lck->data once...

This will simplify further changes.

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