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

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



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@salk.edu>
> > Reference: http://bugs.debian.org/669314
> > Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
> > Cc: <stable@vger.kernel.org> # 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@netapp.com
www.netapp.com

Reply to: