cifs: Add witness information to debug data dump
authorSamuel Cabrero <scabrero@suse.de>
Mon, 30 Nov 2020 18:02:53 +0000 (19:02 +0100)
committerSteve French <stfrench@microsoft.com>
Mon, 14 Dec 2020 15:16:22 +0000 (09:16 -0600)
commit20fab0da2f2df6de9acdfbdec622f6f2a24da422
tree553238cb4fe86e40573e50e5addecd75f9b82314
parentfed979a7e082bd9f25f9002c3c4f8740dacd0bc8
cifs: Add witness information to debug data dump

+ Indicate if witness feature is supported
+ Indicate if witness is used when dumping tcons
+ Dumps witness registrations. Example:
  Witness registrations:
  Id: 1 Refs: 1 Network name: 'fs.fover.ad'(y) Share name: 'share1'(y) \
    Ip address: 192.168.103.200(n)

Signed-off-by: Samuel Cabrero <scabrero@suse.de>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifs_debug.c
fs/cifs/cifs_swn.c
fs/cifs/cifs_swn.h