Skip to content

Commit

Permalink
smb3: note that smb3.11 posix extensions mount option is experimental
Browse files Browse the repository at this point in the history
Signed-off-by: Steve French <[email protected]>
  • Loading branch information
smfrench authored and Steve French committed Jun 15, 2018
1 parent b5d903c commit 2fbb564
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion fs/cifs/connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down

0 comments on commit 2fbb564

Please sign in to comment.