]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
net: Dump data for net_g_lock dump
authorVolker Lendecke <vl@samba.org>
Thu, 8 Jun 2017 10:51:19 +0000 (12:51 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 23 Jun 2017 23:21:10 +0000 (01:21 +0200)
4d404f2 added user-data for a g_lock. Print it in net g_lock dump.

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

index 7543fd8ed01e4080a995d396d3d83892461f484a..0ec6846d10b80a402a0e6e398ede4ff39561669a 100644 (file)
@@ -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)