summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2008-05-19 22:26:42 +0000
committerSteve French <sfrench@us.ibm.com>2008-05-19 22:26:42 +0000
commit89562b777c50d100d1694db7b1b023279839b9ae (patch)
tree703baedc72510ec4ea4c1b64fa7a0627b7df69b0 /fs
parent2b280fab12b6697b6a7a24a13aaf9f4339edd075 (diff)
downloadlinux-stable-89562b777c50d100d1694db7b1b023279839b9ae.tar.gz
linux-stable-89562b777c50d100d1694db7b1b023279839b9ae.tar.bz2
linux-stable-89562b777c50d100d1694db7b1b023279839b9ae.zip
[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>
Diffstat (limited to 'fs')
-rw-r--r--fs/cifs/cifsfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index 57e40c49d3b6..5df93fd6303f 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -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");