summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifs_swn.h
diff options
context:
space:
mode:
authorSamuel Cabrero <scabrero@suse.de>2020-11-30 19:02:54 +0100
committerSteve French <stfrench@microsoft.com>2020-12-14 09:16:23 -0600
commit21077c62e178e637e6291c669d2681c9570f7a08 (patch)
treed308beab6a22610d50b0b611aa87fb9af6344df9 /fs/cifs/cifs_swn.h
parent20fab0da2f2df6de9acdfbdec622f6f2a24da422 (diff)
downloadlinux-21077c62e178e637e6291c669d2681c9570f7a08.tar.bz2
cifs: Send witness register messages to userspace daemon in echo task
If the daemon starts after mounting a share, or if it crashes, this provides a mechanism to register again. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifs_swn.h b/fs/cifs/cifs_swn.h
index 13b25cdc9295..236ecd4959d5 100644
--- a/fs/cifs/cifs_swn.h
+++ b/fs/cifs/cifs_swn.h
@@ -20,4 +20,6 @@ extern int cifs_swn_notify(struct sk_buff *skb, struct genl_info *info);
extern void cifs_swn_dump(struct seq_file *m);
+extern void cifs_swn_check(void);
+
#endif /* _CIFS_SWN_H */