diff options
author | Samuel Cabrero <scabrero@suse.de> | 2020-11-30 19:02:56 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-12-14 09:18:55 -0600 |
commit | 121d947d4fe15bcec90bcfc1249ee9b739cb9258 (patch) | |
tree | 4f27efeea2e92dcd92b5d3180853416f98415c84 /fs/cifs/cifsglob.h | |
parent | af1e40d9ac8417839d955ca1ac42f754588937a9 (diff) | |
download | lwn-121d947d4fe15bcec90bcfc1249ee9b739cb9258.tar.gz lwn-121d947d4fe15bcec90bcfc1249ee9b739cb9258.zip |
cifs: Handle witness client move notification
This message is sent to tell a client to close its current connection
and connect to the specified address.
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/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 78438102f091..720d0f6a982d 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -687,6 +687,10 @@ struct TCP_Server_Info { int nr_targets; bool noblockcnt; /* use non-blocking connect() */ bool is_channel; /* if a session channel */ +#ifdef CONFIG_CIFS_SWN_UPCALL + bool use_swn_dstaddr; + struct sockaddr_storage swn_dstaddr; +#endif }; struct cifs_credits { |