diff options
author | Suresh Jayaraman <sjayaraman@suse.de> | 2010-11-24 13:19:07 +0100 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-11-30 06:51:49 +0100 |
commit | 476428f8c3bb6679f8f52bf2b935ac40bc9c7358 (patch) | |
tree | 64957af79b5f0f5ba5111381650bc3854be18b69 /fs | |
parent | cifs: enable fscache iff fsc mount option is used explicitly (diff) | |
download | linux-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.c | 2 |
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); |