Skip to content

Commit

Permalink
[CIFS] add missing seq_printf to cifs_show_options for hard mount option
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Steve French committed May 19, 2008
1 parent 2b280fa commit 89562b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fs/cifs/cifsfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 89562b7

Please sign in to comment.