Skip to content

Commit 380958a

Browse files
sprasad-microsoftsmfrench
authored andcommitted
cifs: print client_guid in DebugData
Having the ClientGUID info makes it easier to debug issues related to a client on a server that serves a number of clients. This change prints the ClientGUID in DebugData. Signed-off-by: Shyam Prasad N <[email protected]> Acked-by: Tom Talpey <[email protected]> Signed-off-by: Steve French <[email protected]>
1 parent 66be5c4 commit 380958a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/smb/client/cifs_debug.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ static int cifs_debug_data_proc_show(struct seq_file *m, void *v)
330330
spin_lock(&server->srv_lock);
331331
if (server->hostname)
332332
seq_printf(m, "Hostname: %s ", server->hostname);
333+
seq_printf(m, "\nClientGUID: %pUL", server->client_guid);
333334
spin_unlock(&server->srv_lock);
334335
#ifdef CONFIG_CIFS_SMB_DIRECT
335336
if (!server->rdma)

0 commit comments

Comments
 (0)