[CIFS] add missing seq_printf to cifs_show_options for hard mount option
authorSteve French <sfrench@us.ibm.com>
Mon, 19 May 2008 22:26:42 +0000 (22:26 +0000)
committerSteve French <sfrench@us.ibm.com>
Mon, 19 May 2008 22:26:42 +0000 (22:26 +0000)
Also Kari Hurtta noticed a missing check in the same function which is now fixed.

CC: Kari Hurtta <hurtta+gmane@siilo.fmi.fi>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsfs.c

index 57e40c49d3b67c0f8903a37f4e5e1ac60e11ff49..5df93fd6303f734dba3867aa6f0d8f39d17f4db3 100644 (file)
@@ -360,7 +360,10 @@ cifs_show_options(struct seq_file *s, struct vfsmount *m)
                        }
                        if (cifs_sb->tcon->seal)
                                seq_printf(s, ",seal");
+                       if (cifs_sb->tcon->nocase)
                                seq_printf(s, ",nocase");
+                       if (cifs_sb->tcon->retry)
+                               seq_printf(s, ",hard");
                }
                if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_POSIX_PATHS)
                        seq_printf(s, ",posixpaths");