cifs: add a debug macro that prints \\server\share for errors
authorRonnie Sahlberg <lsahlber@redhat.com>
Wed, 4 Sep 2019 02:32:41 +0000 (12:32 +1000)
committerSteve French <stfrench@microsoft.com>
Mon, 16 Sep 2019 16:43:38 +0000 (11:43 -0500)
commit3175eb9b577e82b44a25ad2d515ec9418ae06c04
treebcb8165506bdc73cd5ddf08c371a69870a95cfa3
parent46f17d17687e8140f2e4e517d7dfa65e62fcc5f4
cifs: add a debug macro that prints \\server\share for errors

Where we have a tcon available we can log \\server\share as part
of the message. Only do this for the VFS log level.

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