cifs: add new debugging macro cifs_server_dbg
authorRonnie Sahlberg <lsahlber@redhat.com>
Wed, 28 Aug 2019 07:15:35 +0000 (17:15 +1000)
committerSteve French <stfrench@microsoft.com>
Mon, 16 Sep 2019 16:43:37 +0000 (11:43 -0500)
commitafe6f65353b644f55875d42d812ffe87f1887d68
tree98c7bdf6bacc724c70e44b4f64f07630a30ac607
parentdc9300a670aebb22e9b04b3664da6b218b29ab60
cifs: add new debugging macro cifs_server_dbg

which can be used from contexts where we have a TCP_Server_Info *server.
This new macro will prepend the debugging string with "Server:<servername> "
which will help when debugging issues on hosts with many cifs connections
to several different servers.

Convert a bunch of cifs_dbg(VFS) calls to cifs_server_dbg(VFS)

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifs_debug.h
fs/cifs/connect.c
fs/cifs/smb2pdu.c
fs/cifs/smb2transport.c
fs/cifs/transport.c