From: Kenneth D'souza Date: Mon, 21 Jan 2019 01:51:59 +0000 (+1000) Subject: CIFS: Show locallease in /proc/mounts for cifs shares mounted with locallease feature. X-Git-Tag: v5.2-rc1~122^2~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c8b6ac1a9d1fb26adaeaafc3fb872e6713dfeaf7;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Kenneth D'souza Signed-off-by: Steve French --- diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 877174761efb6..54c065ada4de7 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