summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorSuresh Jayaraman <sjayaraman@suse.de>2010-11-24 13:19:07 +0100
committerSteve French <sfrench@us.ibm.com>2010-11-30 06:51:49 +0100
commit476428f8c3bb6679f8f52bf2b935ac40bc9c7358 (patch)
tree64957af79b5f0f5ba5111381650bc3854be18b69 /fs
parentcifs: enable fscache iff fsc mount option is used explicitly (diff)
downloadlinux-476428f8c3bb6679f8f52bf2b935ac40bc9c7358.tar.xz
linux-476428f8c3bb6679f8f52bf2b935ac40bc9c7358.zip
cifs: display fsc in /proc/mounts
Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/cifs/cifsfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index 9c3789762ab7..76c8a906a63e 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -458,6 +458,8 @@ cifs_show_options(struct seq_file *s, struct vfsmount *m)
seq_printf(s, ",acl");
if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MF_SYMLINKS)
seq_printf(s, ",mfsymlinks");
+ if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_FSCACHE)
+ seq_printf(s, ",fsc");
seq_printf(s, ",rsize=%d", cifs_sb->rsize);
seq_printf(s, ",wsize=%d", cifs_sb->wsize);