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:
committed by
Jeremy Allison
parent
06cdf8d7c4
commit
5757d9bf75
@ -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)
|
||||
|
Reference in New Issue
Block a user