diff options
author | Samuel Cabrero <scabrero@suse.de> | 2020-11-30 19:02:53 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-12-14 09:16:22 -0600 |
commit | 20fab0da2f2df6de9acdfbdec622f6f2a24da422 (patch) | |
tree | 553238cb4fe86e40573e50e5addecd75f9b82314 /fs/cifs/cifs_swn.h | |
parent | fed979a7e082bd9f25f9002c3c4f8740dacd0bc8 (diff) | |
download | linux-20fab0da2f2df6de9acdfbdec622f6f2a24da422.tar.gz linux-20fab0da2f2df6de9acdfbdec622f6f2a24da422.tar.bz2 linux-20fab0da2f2df6de9acdfbdec622f6f2a24da422.zip |
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>
Diffstat (limited to 'fs/cifs/cifs_swn.h')
-rw-r--r-- | fs/cifs/cifs_swn.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifs_swn.h b/fs/cifs/cifs_swn.h index 7ef9ecedbd05..13b25cdc9295 100644 --- a/fs/cifs/cifs_swn.h +++ b/fs/cifs/cifs_swn.h @@ -18,4 +18,6 @@ extern int cifs_swn_unregister(struct cifs_tcon *tcon); extern int cifs_swn_notify(struct sk_buff *skb, struct genl_info *info); +extern void cifs_swn_dump(struct seq_file *m); + #endif /* _CIFS_SWN_H */ |