CIFS: Show locallease in /proc/mounts for cifs shares mounted with locallease feature.
authorKenneth D'souza <kdsouza@redhat.com>
Mon, 21 Jan 2019 01:51:59 +0000 (11:51 +1000)
committerSteve French <stfrench@microsoft.com>
Wed, 8 May 2019 04:24:54 +0000 (23:24 -0500)
Missing parameter that should be displayed in the mount list

Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Kenneth D'souza <kdsouza@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsfs.c

index 877174761efb6ddca428aa4c094fb4c0bcca6b55..54c065ada4de7818eb736df6970f6f63bc53a165 100644 (file)
@@ -483,6 +483,8 @@ cifs_show_options(struct seq_file *s, struct dentry *root)
                seq_puts(s, ",seal");
        if (tcon->nocase)
                seq_puts(s, ",nocase");
+       if (tcon->local_lease)
+               seq_puts(s, ",locallease");
        if (tcon->retry)
                seq_puts(s, ",hard");
        else