g_lock: Make g_lock_dump return a complete list of locks
commit90d7784d45d2a43f5e8a68596c793e7ba8a5b350
authorVolker Lendecke <vl@samba.org>
Thu, 18 May 2017 13:27:46 +0000 (18 15:27 +0200)
committerVolker Lendecke <vl@samba.org>
Thu, 15 Jun 2017 11:19:14 +0000 (15 13:19 +0200)
treef27cbaa29d2ce27474adc3077a392518b856d62d
parent4478cd59ad1689f8719c031766b981ae37c24212
g_lock: Make g_lock_dump return a complete list of locks

To be honest, it did not really make sense to just pass in
lock holders individually. You could argue that it made sense
with in reality only G_LOCK_WRITE around, but soon we will have
G_LOCK_READ and thus multiple lock holders on a single lock.

Now that we also have userdata, change the g_lock_dump API

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