summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
authorSachin Prabhu <sprabhu@redhat.com>2011-10-11 13:43:50 +0100
committerSteve French <smfrench@gmail.com>2011-10-11 13:13:18 -0500
commit875cd04381e695afbbbef025438113e12af84963 (patch)
tree857faacc10ef9a0fd1e79aaa2da6a2a8e86765b9 /fs/cifs/cifsfs.c
parent65112dccf8a113737684366349d7f9ec373ddc47 (diff)
downloadblackbird-op-linux-875cd04381e695afbbbef025438113e12af84963.tar.gz
blackbird-op-linux-875cd04381e695afbbbef025438113e12af84963.zip
cifs: Display strictcache mount option in /proc/mounts
Commit d39454ffe4a3c85428483b8a8a8e5e797b6363d5 adds a strictcache mount option. This patch allows the display of this mount option in /proc/mounts when listing shares mounted with the strictcache mount option. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com> Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsfs.c')
-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 54b8f1e7da94..03d2f6b27cc4 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -432,6 +432,8 @@ cifs_show_options(struct seq_file *s, struct vfsmount *m)
seq_printf(s, ",mfsymlinks");
if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_FSCACHE)
seq_printf(s, ",fsc");
+ if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO)
+ seq_printf(s, ",strictcache");
seq_printf(s, ",rsize=%d", cifs_sb->rsize);
seq_printf(s, ",wsize=%d", cifs_sb->wsize);
OpenPOWER on IntegriCloud