summaryrefslogtreecommitdiff
path: root/fs/cifs/fs_context.c
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2020-12-14 20:15:12 -0600
committerSteve French <stfrench@microsoft.com>2020-12-15 15:13:21 -0600
commitdd538034f84fa4ea670420aac19adcceef45d057 (patch)
tree5a43f4e938c102a5c9202114955530c78823f9bf /fs/cifs/fs_context.c
parent653a5efb849aea1706648257c3c23ece82997f44 (diff)
smb3: remind users that witness protocol is experimental
warn_once when using the witness protocol that it is experimental Signed-off-by: Steve French <stfrench@microsoft.com> Reviewed-by: Samuel Cabrero <scabrero@suse.de> Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Diffstat (limited to 'fs/cifs/fs_context.c')
-rw-r--r--fs/cifs/fs_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/fs_context.c b/fs/cifs/fs_context.c
index ca745fa6c4a1..c427e494ea56 100644
--- a/fs/cifs/fs_context.c
+++ b/fs/cifs/fs_context.c
@@ -1098,6 +1098,7 @@ static int smb3_fs_context_parse_param(struct fs_context *fc,
goto cifs_parse_mount_err;
#endif
ctx->witness = true;
+ pr_warn_once("Witness protocol support is experimental\n");
break;
case Opt_rootfs:
#ifdef CONFIG_CIFS_ROOT