aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
authorKenneth D'souza <kdsouza@redhat.com>2019-01-21 11:51:59 +1000
committerSteve French <stfrench@microsoft.com>2019-05-07 23:24:54 -0500
commitc8b6ac1a9d1fb26adaeaafc3fb872e6713dfeaf7 (patch)
treee5eda3511b0ff4afca556841656d258c5dc6ceba /fs/cifs/cifsfs.c
parentcifs: Fix DFS cache refresher for DFS links (diff)
downloadlinux-dev-c8b6ac1a9d1fb26adaeaafc3fb872e6713dfeaf7.tar.xz
linux-dev-c8b6ac1a9d1fb26adaeaafc3fb872e6713dfeaf7.zip
CIFS: Show locallease in /proc/mounts for cifs shares mounted with locallease feature.
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>
Diffstat (limited to 'fs/cifs/cifsfs.c')
-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 877174761efb..54c065ada4de 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -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