smb3: note that smb3.11 posix extensions mount option is experimental
authorSteve French <smfrench@gmail.com>
Tue, 12 Jun 2018 17:11:31 +0000 (12:11 -0500)
committerSteve French <stfrench@microsoft.com>
Fri, 15 Jun 2018 07:38:07 +0000 (02:38 -0500)
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c

index 96645a7d8f27144a885863578d33e2b757afeec6..267c6f70cf981f0415bd91ed5beb9433d0276c00 100644 (file)
@@ -3029,8 +3029,11 @@ cifs_get_tcon(struct cifs_ses *ses, struct smb_vol *volume_info)
 
 #ifdef CONFIG_CIFS_SMB311
        if ((volume_info->linux_ext) && (ses->server->posix_ext_supported)) {
-               if (ses->server->vals->protocol_id == SMB311_PROT_ID)
+               if (ses->server->vals->protocol_id == SMB311_PROT_ID) {
                        tcon->posix_extensions = true;
+                       printk_once(KERN_WARNING
+                               "SMB3.11 POSIX Extensions are experimental\n");
+               }
        }
 #endif /* 311 */