OSDN Git Service

smb3: remind users that witness protocol is experimental
authorSteve French <stfrench@microsoft.com>
Tue, 15 Dec 2020 02:15:12 +0000 (20:15 -0600)
committerSteve French <stfrench@microsoft.com>
Tue, 15 Dec 2020 21:13:21 +0000 (15:13 -0600)
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>
fs/cifs/fs_context.c

index ca745fa..c427e49 100644 (file)
@@ -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