summaryrefslogtreecommitdiffstats
path: root/fs/cifs/fs_context.h
diff options
context:
space:
mode:
authorSamuel Cabrero <scabrero@suse.de>2020-12-11 22:59:29 -0600
committerSteve French <stfrench@microsoft.com>2020-12-14 09:16:22 -0600
commit0ac4e2919aa408dfd0fb9ce08ac331a9deeea807 (patch)
treee09dd54e5e8d66d27741e2297b858e0e7d88beb6 /fs/cifs/fs_context.h
parent06f08dab3ca726b86431889495c45049616d6a15 (diff)
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/fs_context.h')
-rw-r--r--fs/cifs/fs_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/fs_context.h b/fs/cifs/fs_context.h
index d4a905a80883..aaec8a819d34 100644
--- a/fs/cifs/fs_context.h
+++ b/fs/cifs/fs_context.h
@@ -102,6 +102,7 @@ enum cifs_param {
Opt_rootfs,
Opt_multichannel,
Opt_compress,
+ Opt_witness,
/* Mount options which take numeric value */
Opt_backupuid,
@@ -241,6 +242,7 @@ struct smb3_fs_context {
unsigned int max_channels;
__u16 compression; /* compression algorithm 0xFFFF default 0=disabled */
bool rootfs:1; /* if it's a SMB root file system */
+ bool witness:1; /* use witness protocol */
char *mount_options;
};