Commit 89562b77 authored by Steve French's avatar Steve French

[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: default avatarSteve French <sfrench@us.ibm.com>
parent 2b280fab
...@@ -360,7 +360,10 @@ cifs_show_options(struct seq_file *s, struct vfsmount *m) ...@@ -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");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment