Re: [PATCH 1/2] cifs: print nosharesock value while dumping mount options

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

 



> On Fri, Jun 16, 2023 at 5:37 AM Shyam Prasad N <nspmangalore@xxxxxxxxx> wrote:
> >
> > We print most other mount options for a mount when dumping
> > the mount entries. But miss out the nosharesock value.
> > This change will print that in addition to the other options.
> >
> > Signed-off-by: Shyam Prasad N <sprasad@xxxxxxxxxxxxx>
> > ---
> >  fs/smb/client/cifsfs.c | 2 ++
> >  1 file changed, 2 insertions(+)
> >
> > diff --git a/fs/smb/client/cifsfs.c b/fs/smb/client/cifsfs.c
> > index 43a4d8603db3..86ac620a9615 100644
> > --- a/fs/smb/client/cifsfs.c
> > +++ b/fs/smb/client/cifsfs.c
> > @@ -688,6 +688,8 @@ cifs_show_options(struct seq_file *s, struct dentry *root)
> >                 seq_puts(s, ",noautotune");
> >         if (tcon->ses->server->noblocksnd)
> >                 seq_puts(s, ",noblocksend");
> > +       if (tcon->ses->server->nosharesock)
> > +               seq_puts(s, ",nosharesock");


Reviewed by Bharath.




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

  Powered by Linux