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>
This commit is contained in:
Steve French 2020-12-14 20:15:12 -06:00
parent 653a5efb84
commit dd538034f8

View File

@ -1098,6 +1098,7 @@ static int smb3_fs_context_parse_param(struct fs_context *fc,
goto cifs_parse_mount_err; goto cifs_parse_mount_err;
#endif #endif
ctx->witness = true; ctx->witness = true;
pr_warn_once("Witness protocol support is experimental\n");
break; break;
case Opt_rootfs: case Opt_rootfs:
#ifdef CONFIG_CIFS_ROOT #ifdef CONFIG_CIFS_ROOT