]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3922a25e7d5734e3ce10d045b7b99a2d6e3188c8
tree553238cb4fe86e40573e50e5addecd75f9b82314
parentf35151bf21264c5a1f974271eb078a1ca29e9705
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