Looks reasonable - are we missing any more from the list of mount options that might matter to display? On Tue, Oct 11, 2011 at 7:43 AM, Sachin Prabhu <sprabhu@xxxxxxxxxx> wrote: > 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@xxxxxxxxxx> > Reviewed-by: Jeff Layton <jlayton@xxxxxxxxxx> > > diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c > index 54b8f1e..03d2f6b 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); > > > -- Thanks, Steve -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html