SMB3: Log at least once if tree connect fails during reconnect
authorSteve French <stfrench@microsoft.com>
Wed, 4 Apr 2018 19:08:52 +0000 (14:08 -0500)
committerSteve French <stfrench@microsoft.com>
Wed, 11 Apr 2018 21:44:58 +0000 (16:44 -0500)
commitc318e6c26cbe91bfcd1e9bca8840de2fb57aef4f
tree0ca36093d0afd26613630e4897f1bccf9a1b238a
parentc0953f2ed510c31a375193e9dbca9774e77fb4b7
SMB3: Log at least once if tree connect fails during reconnect

Adding an extra debug message to show if a tree connect failure during
reconnect (and made it a log once so it doesn't spam the logs).
Saw a case recently where tree connect repeatedly returned
access denied on reconnect and it wasn't as easy to spot as it
should have been.

Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
fs/cifs/cifssmb.c
fs/cifs/smb2pdu.c