diff options
author | Samuel Cabrero <scabrero@suse.de> | 2020-11-30 19:02:52 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-12-14 09:16:22 -0600 |
commit | fed979a7e082bd9f25f9002c3c4f8740dacd0bc8 (patch) | |
tree | 7a5bb9d692c7a2a55db42200268fc0d7859e73fd /fs/cifs/cifs_swn.h | |
parent | bf80e5d4259a192d6b06ae17e79a5e9dab48bf51 (diff) | |
download | linux-fed979a7e082bd9f25f9002c3c4f8740dacd0bc8.tar.bz2 |
cifs: Set witness notification handler for messages from userspace daemon
+ Set a handler for the witness notification messages received from the
userspace daemon.
+ Handle the resource state change notification. When the resource
becomes unavailable or available set the tcp status to
CifsNeedReconnect for all channels.
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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/cifs/cifs_swn.h b/fs/cifs/cifs_swn.h index 69c7bd1035da..7ef9ecedbd05 100644 --- a/fs/cifs/cifs_swn.h +++ b/fs/cifs/cifs_swn.h @@ -9,9 +9,13 @@ #define _CIFS_SWN_H struct cifs_tcon; +struct sk_buff; +struct genl_info; extern int cifs_swn_register(struct cifs_tcon *tcon); extern int cifs_swn_unregister(struct cifs_tcon *tcon); +extern int cifs_swn_notify(struct sk_buff *skb, struct genl_info *info); + #endif /* _CIFS_SWN_H */ |