From: Steve French Date: Thu, 20 Feb 2020 05:59:32 +0000 (-0600) Subject: cifs: add missing mount option to /proc/mounts X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ec57010acd03428a749d2600bf09bd537eaae993;p=linux.git cifs: add missing mount option to /proc/mounts We were not displaying the mount option "signloosely" in /proc/mounts for cifs mounts which some users found confusing recently Signed-off-by: Steve French Reviewed-by: Aurelien Aptel --- diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 46ebaf3f0824b..fa77fe5258b07 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c @@ -530,6 +530,8 @@ cifs_show_options(struct seq_file *s, struct dentry *root) if (tcon->seal) seq_puts(s, ",seal"); + else if (tcon->ses->server->ignore_signature) + seq_puts(s, ",signloosely"); if (tcon->nocase) seq_puts(s, ",nocase"); if (tcon->local_lease)