s3:locking: split out share_mode_data_ltdb_store()
authorStefan Metzmacher <metze@samba.org>
Mon, 22 Aug 2022 14:53:38 +0000 (16:53 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 20 Sep 2022 00:34:35 +0000 (00:34 +0000)
commit703a4ff525655c6f99ac24351be7eb898d4ded28
tree8faa7b859119d52b294b7957a77be9e7ea0c8f53
parent5bba79d639b6498073e3917b8112bb50b4aa0c39
s3:locking: split out share_mode_data_ltdb_store()

This will allow us to use it in other places too
and we'll avoid to storing multiple times.

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