[SMB3] Display persistenthandles in /proc/mounts for SMB3 shares if enabled
authorSteve French <smfrench@gmail.com>
Thu, 1 Oct 2015 02:07:59 +0000 (21:07 -0500)
committerSteve French <smfrench@gmail.com>
Tue, 3 Nov 2015 15:17:31 +0000 (09:17 -0600)
Signed-off-by: Steve French <steve.french@primarydata.com>
Reviewed-by: Pavel Shilovsky <pshilovsky@samba.org>
fs/cifs/cifsfs.c

index e739950ca08485543db80bee53f1021384ed0b9a..13302e94fee3d1ede7d2a646cace52aded1cec0d 100644 (file)
@@ -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