Re: [PATCH] cifs: Display strictcache mount option in /proc/mounts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2011-10-19 at 21:10 -0500, Steve French wrote:
> > --
> >
> > Show nostrictsync and noperm mount options in /proc/mounts
> >
> > Add support to print nostrictsync and noperm mount options in /proc/mounts for shares mounted with these options.
> >
> > Signed-off-by: Sachin Prabhu <sprabhu@xxxxxxxxxx>
> > ---
> >  fs/cifs/cifsfs.c |    4 ++++
> >  1 files changed, 4 insertions(+), 0 deletions(-)
> >
> > diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
> > index 54b8f1e..eb6e8bf 100644
> > --- a/fs/cifs/cifsfs.c
> > +++ b/fs/cifs/cifsfs.c
> > @@ -432,6 +432,10 @@ 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_NOSSYNC)
> > +               seq_printf(s, ",nostrictsync");
> > +       if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_PERM)
> > +               seq_printf(s, ",noperm");
> >
> >        seq_printf(s, ",rsize=%d", cifs_sb->rsize);
> >        seq_printf(s, ",wsize=%d", cifs_sb->wsize);
> 
> I had to redo to avoid the merge conflict (your patch was not built on
> the previous one so conflicted with it) - but now merged.
> 
> 

Sorry about that. Thanks Steve.

Sachin Prabhu


--
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


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux