cifs: show 'soft' in the mount options for hard mounts
authorRonnie Sahlberg <lsahlber@redhat.com>
Wed, 20 Sep 2017 03:09:23 +0000 (13:09 +1000)
committerSteve French <smfrench@gmail.com>
Wed, 20 Sep 2017 06:58:20 +0000 (01:58 -0500)
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifsfs.c

index 180b3356ff8612dfc7f3cd702e350bb284ca1a0d..a864e6575309b17d2ed6ac3c69716f3301d82b4a 100644 (file)
@@ -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)