summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifs_debug.c
diff options
context:
space:
mode:
authorSteve French2018-05-20 03:45:27 +0200
committerSteve French2018-05-30 23:06:18 +0200
commitfcef0db6d630ccadaa65138b77eac5fce16a13c9 (patch)
tree83dad06a589be1961e236322ca14eb626a314c64 /fs/cifs/cifs_debug.c
parentcifs: allow disabling less secure legacy dialects (diff)
downloadkernel-qcow2-linux-fcef0db6d630ccadaa65138b77eac5fce16a13c9.tar.gz
kernel-qcow2-linux-fcef0db6d630ccadaa65138b77eac5fce16a13c9.tar.xz
kernel-qcow2-linux-fcef0db6d630ccadaa65138b77eac5fce16a13c9.zip
smb3: add support for posix negotiate context
Unlike CIFS where UNIX/POSIX extensions had been negotiatable, SMB3 did not have POSIX extensions yet. Add the new SMB3.11 POSIX negotiate context to ask the server whether it can support POSIX (and thus whether we can send the new POSIX open context). Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifs_debug.c')
-rw-r--r--fs/cifs/cifs_debug.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/cifs/cifs_debug.c b/fs/cifs/cifs_debug.c
index 7b857002c063..842b198d8516 100644
--- a/fs/cifs/cifs_debug.c
+++ b/fs/cifs/cifs_debug.c
@@ -238,6 +238,10 @@ skip_rdma:
server->credits, server->dialect);
if (server->sign)
seq_printf(m, " signed");
+#ifdef CONFIG_CIFS_SMB311
+ if (server->posix_ext_supported)
+ seq_printf(m, " posix");
+#endif /* 3.1.1 */
i++;
list_for_each(tmp2, &server->smb_ses_list) {
ses = list_entry(tmp2, struct cifs_ses,