s3:locking: just use g_lock_dump() for fsp_update_share_mode_flags()
authorStefan Metzmacher <metze@samba.org>
Mon, 22 Aug 2022 14:19:40 +0000 (16:19 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 20 Sep 2022 00:34:35 +0000 (00:34 +0000)
commit6ab4457b4be139c4e5a3f44ce9bf8018ad09a58b
treeee48b0700fbe273ee5a37f6eb485564e26eb0c2c
parent65715e3431a87f519528b0daa7d877f668875a84
s3:locking: just use g_lock_dump() for fsp_update_share_mode_flags()

We don't need to protect this with g_lock_lock/g_lock_unlock
as we just want the current flags, we're still protected by the
dbwrap layer lock.

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