Re: [PATCH] Show locallease in /proc/mounts for cifs shares mounted with locallease feature.

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

 



On Mon, Jan 21, 2019 at 1:22 PM Steve French <smfrench@xxxxxxxxx> wrote:
>
> Makes sense - but don't we need to update the man page as well - I
> don't see it in there either.
>
> And wouldn't hurt to note a use case where it could be helpful?!
>

 Aurélien has documented the locallease and other mount options in the
below patch.
https://git.samba.org/?p=cifs-utils.git;a=commit;h=7325a01abc529d68756bae90cf23233392626939


> On Sun, Jan 20, 2019 at 7:52 PM Ronnie Sahlberg <lsahlber@xxxxxxxxxx> wrote:
> >
> > Reviewed-by: Ronnie Sahlberg <lsahlber@xxxxxxxxxx>
> > Signed-off-by: Kenneth D'souza <kdsouza@xxxxxxxxxx>
> > ---
> >  fs/cifs/cifsfs.c | 2 ++
> >  1 file changed, 2 insertions(+)
> >
> > diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
> > index 62d48d486d8f..775cbb39f3b7 100644
> > --- a/fs/cifs/cifsfs.c
> > +++ b/fs/cifs/cifsfs.c
> > @@ -489,6 +489,8 @@ cifs_show_options(struct seq_file *s, struct dentry *root)
> >                 seq_puts(s, ",seal");
> >         if (tcon->nocase)
> >                 seq_puts(s, ",nocase");
> > +       if (tcon->local_lease)
> > +               seq_puts(s, ",locallease");
> >         if (tcon->retry)
> >                 seq_puts(s, ",hard");
> >         else
> > --
> > 2.13.6
> >
>
>
> --
> Thanks,
>
> Steve



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

  Powered by Linux