From: Steve French Date: Thu, 1 Oct 2015 02:07:59 +0000 (-0500) Subject: [SMB3] Display persistenthandles in /proc/mounts for SMB3 shares if enabled X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=f16dfa7cd1b588e5d7ef4b5a19ee579f11b7a41f;p=deliverable%2Flinux.git [SMB3] Display persistenthandles in /proc/mounts for SMB3 shares if enabled Signed-off-by: Steve French Reviewed-by: Pavel Shilovsky --- 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