aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve French2018-06-12 12:11:31 -0500
committerSteve French2018-06-15 02:38:07 -0500
commit2fbb56446fde14a80790de9b182ae6f7c36a039a (patch)
tree30fed6283c88860900f46686f45ef1c216b65da5
parentb5d903c2d656e9bc54bc76554a477d796a63120d (diff)
smb3: note that smb3.11 posix extensions mount option is experimental
Signed-off-by: Steve French <stfrench@microsoft.com>
-rw-r--r--fs/cifs/connect.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index 96645a7d8f27..267c6f70cf98 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -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 */