smb3: track the instance of each session for debugging
authorSteve French <stfrench@microsoft.com>
Wed, 19 Sep 2018 07:38:17 +0000 (02:38 -0500)
committerSteve French <stfrench@microsoft.com>
Wed, 24 Oct 2018 02:16:04 +0000 (21:16 -0500)
commit9e1a37dad4f3b9f1d36d9fd27021bbd67fb8c85f
treefa1d2d0a3595ad867ae86f7aaf4c244e318e10b8
parent37e6a7057607121485099e405eb528d416a5ced4
smb3: track the instance of each session for debugging

Each time we reconnect to the same server, bump an instance
counter (and display in /proc/fs/cifs/DebugData) to make it
easier to debug.

Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
fs/cifs/cifs_debug.c
fs/cifs/cifsglob.h
fs/cifs/connect.c
fs/cifs/smb2ops.c