提交 89562b77 编写于 作者: S 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: NSteve French <sfrench@us.ibm.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册