1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-24 21:49:29 +03:00

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 <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke
2017-06-08 12:51:19 +02:00
committed by Jeremy Allison
parent 06cdf8d7c4
commit 5757d9bf75

View 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)