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 <[email protected]>
> > Reference: http://bugs.debian.org/669314
> > Signed-off-by: Ben Hutchings <[email protected]>
> > Cc: <[email protected]> # 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
[email protected]
www.netapp.com