diff options
author | Samuel Cabrero <scabrero@suse.de> | 2020-12-11 22:59:29 -0600 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-12-14 09:16:22 -0600 |
commit | 0ac4e2919aa408dfd0fb9ce08ac331a9deeea807 (patch) | |
tree | e09dd54e5e8d66d27741e2297b858e0e7d88beb6 /fs/cifs/cifsglob.h | |
parent | 06f08dab3ca726b86431889495c45049616d6a15 (diff) | |
download | linux-0ac4e2919aa408dfd0fb9ce08ac331a9deeea807.tar.gz linux-0ac4e2919aa408dfd0fb9ce08ac331a9deeea807.tar.bz2 linux-0ac4e2919aa408dfd0fb9ce08ac331a9deeea807.zip |
cifs: add witness mount option and data structs
Add 'witness' mount option to register for witness notifications.
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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index b46809260e79..78438102f091 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -1086,6 +1086,9 @@ struct cifs_tcon { int remap:2; struct list_head ulist; /* cache update list */ #endif +#ifdef CONFIG_CIFS_SWN_UPCALL + bool use_witness:1; /* use witness protocol */ +#endif }; /* |