Re: [PATCH] nfs: Show original device name verbatim in /proc/*/mount{s,info}

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

 



On Sun, 2012-10-21 at 17:01 -0700, Jonathan Nieder wrote:
> (cc-ing Laurent in case he wants to test.  Laurent, a "git am"-ready
>  patch is at [1])
> Ben Hutchings wrote:
> 
> > Since commit c7f404b ('vfs: new superblock methods to override
> > /proc/*/mount{s,info}'), nfs_path() is used to generate the mounted
> > device name reported back to userland.
> >
> > nfs_path() always generates a trailing slash when the given dentry is
> > the root of an NFS mount, but userland may expect the original device
> > name to be returned verbatim (as it used to be).  Make this
> > canonicalisation optional and change the callers accordingly.
> >
> > Reported-and-tested-by: Chris Hiestand <chiestand@xxxxxxxx>
> > Reference: http://bugs.debian.org/669314
> > Signed-off-by: Ben Hutchings <ben@xxxxxxxxxxxxxxx>
> > Cc: <stable@xxxxxxxxxxxxxxx> # v2.6.39+


This patch will not apply to the upstream kernel; it seems rather to
have been generated incrementally against an older patch attempt.

Please regenerate and resend if you want this merged...

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@xxxxxxxxxx
www.netapp.com
��.n��������+%������w��{.n�����{���)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux