OSDN Git Service

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 8771747..54c065a 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