[CIFS] add missing seq_printf to cifs_show_options for hard mount option

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>
This commit is contained in:
Steve French 2008-05-19 22:26:42 +00:00
parent 2b280fab12
commit 89562b777c

View file

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