aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2015-09-30 21:07:59 -0500
committerSteve French <smfrench@gmail.com>2015-10-31 22:44:42 -0500
commit62619092225b9268a850230bc74aa7b3addb13c6 (patch)
tree7a7c78d8e137fdce4a032b0f2894eb90233f8067 /fs
parent21bad0402d5913f05c175853fc49bf9dcf961543 (diff)
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')
-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