From: Volker Lendecke Date: Thu, 8 Jun 2017 10:51:19 +0000 (+0200) Subject: net: Dump data for net_g_lock dump X-Git-Tag: tdb-1.3.14~206 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5757d9bf75a5f3ade82c00c98e01c5a8e38aaa28;p=thirdparty%2Fsamba.git net: Dump data for net_g_lock dump 4d404f2 added user-data for a g_lock. Print it in net g_lock dump. Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/utils/net_g_lock.c b/source3/utils/net_g_lock.c index 7543fd8ed01..0ec6846d10b 100644 --- a/source3/utils/net_g_lock.c +++ b/source3/utils/net_g_lock.c @@ -123,6 +123,7 @@ static void net_g_lock_dump_fn(const struct g_lock_rec *locks, d_printf("%s: %s\n", server_id_str_buf(l->pid, &idbuf), (l->lock_type & 1) ? "WRITE" : "READ"); } + dump_data_file(data, datalen, true, stdout); } static int net_g_lock_dump(struct net_context *c, int argc, const char **argv)