g_lock: Pass "data" down to g_lock_trylock()
commit78c96f6995aa0cb8e0ec0872bdc00bb452bc2d36
authorVolker Lendecke <vl@samba.org>
Wed, 23 Oct 2019 09:21:16 +0000 (23 11:21 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 22 Nov 2019 23:57:46 +0000 (22 23:57 +0000)
tree283807a123d3dbe7f6df6a41dbd0926e5063fd93
parentcaef82b1fe6ae7732abcd04a3696756274c935ea
g_lock: Pass "data" down to g_lock_trylock()

Avoid a call to dbwrap_record_get_value(), dbwrap_do_locked() already
gave us the value.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/g_lock.c