summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
authorRonnie Sahlberg2017-09-20 05:09:23 +0200
committerSteve French2017-09-20 08:58:20 +0200
commit6e82e929d98552ed5156919e0f532eeba2da704b (patch)
treed9bfb9d5fe0dbd2471f28ba3e7d9bfa437d99dd9 /fs/cifs/cifsfs.c
parentSMB3: Warn user if trying to sign connection that authenticated as guest (diff)
downloadkernel-qcow2-linux-6e82e929d98552ed5156919e0f532eeba2da704b.tar.gz
kernel-qcow2-linux-6e82e929d98552ed5156919e0f532eeba2da704b.tar.xz
kernel-qcow2-linux-6e82e929d98552ed5156919e0f532eeba2da704b.zip
cifs: show 'soft' in the mount options for hard mounts
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <smfrench@gmail.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 180b3356ff86..a864e6575309 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -461,6 +461,8 @@ cifs_show_options(struct seq_file *s, struct dentry *root)
seq_puts(s, ",nocase");
if (tcon->retry)
seq_puts(s, ",hard");
+ else
+ seq_puts(s, ",soft");
if (tcon->use_persistent)
seq_puts(s, ",persistenthandles");
else if (tcon->use_resilient)