diff options
author | Samuel Cabrero <scabrero@suse.de> | 2020-12-12 05:59:29 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-12-14 16:16:22 +0100 |
commit | 0ac4e2919aa408dfd0fb9ce08ac331a9deeea807 (patch) | |
tree | e09dd54e5e8d66d27741e2297b858e0e7d88beb6 /fs/cifs/fs_context.h | |
parent | cifs: Register generic netlink family (diff) | |
download | linux-0ac4e2919aa408dfd0fb9ce08ac331a9deeea807.tar.xz 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/fs_context.h')
-rw-r--r-- | fs/cifs/fs_context.h | 2 |
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; }; |