summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
authorSteve French2015-10-01 04:07:59 +0200
committerSteve French2015-11-03 16:17:31 +0100
commitf16dfa7cd1b588e5d7ef4b5a19ee579f11b7a41f (patch)
tree78ecd32e29fd26a247a1a02f624d7dbd89350c7b /fs/cifs/cifsfs.c
parent[SMB3] Enable checking for continuous availability and persistent handle support (diff)
downloadkernel-qcow2-linux-f16dfa7cd1b588e5d7ef4b5a19ee579f11b7a41f.tar.gz
kernel-qcow2-linux-f16dfa7cd1b588e5d7ef4b5a19ee579f11b7a41f.tar.xz
kernel-qcow2-linux-f16dfa7cd1b588e5d7ef4b5a19ee579f11b7a41f.zip
[SMB3] Display persistenthandles in /proc/mounts for SMB3 shares if enabled
Signed-off-by: Steve French <steve.french@primarydata.com> Reviewed-by: Pavel Shilovsky <pshilovsky@samba.org>
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r--fs/cifs/cifsfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index e739950ca084..13302e94fee3 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -454,6 +454,8 @@ cifs_show_options(struct seq_file *s, struct dentry *root)
seq_puts(s, ",nocase");
if (tcon->retry)
seq_puts(s, ",hard");
+ if (tcon->use_persistent)
+ seq_puts(s, ",persistenthandles");
if (tcon->unix_ext)
seq_puts(s, ",unix");
else