summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2017-09-20 13:09:23 +1000
committerSteve French <smfrench@gmail.com>2017-09-20 01:58:20 -0500
commit6e82e929d98552ed5156919e0f532eeba2da704b (patch)
treed9bfb9d5fe0dbd2471f28ba3e7d9bfa437d99dd9 /fs
parentc721c38957fb19982416f6be71aae7b30630d83b (diff)
downloadlinux-6e82e929d98552ed5156919e0f532eeba2da704b.tar.gz
linux-6e82e929d98552ed5156919e0f532eeba2da704b.tar.bz2
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')
-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)