Re: [PATCH v2] nfs: remove redundant slash from nfs_path

2014-08-25 Thread Trond Myklebust
On Mon, Aug 25, 2014 at 5:07 PM, Ben Hutchings wrote: > On Mon, 2014-08-25 at 01:51 -0400, Xiong Zhou wrote: >> When export root dir(/) via nfs, and mount a particular dir under root, eg >> /nfsexport, there will be defect double slash output in /proc/mounts, like >> localhost://nfsexport. While t

Re: [PATCH v2] nfs: remove redundant slash from nfs_path

2014-08-25 Thread Ben Hutchings
On Mon, 2014-08-25 at 01:51 -0400, Xiong Zhou wrote: > When export root dir(/) via nfs, and mount a particular dir under root, eg > /nfsexport, there will be defect double slash output in /proc/mounts, like > localhost://nfsexport. While this patch change it to localhost:/nfsexport. > > Signed-off

[PATCH v2] nfs: remove redundant slash from nfs_path

2014-08-24 Thread Xiong Zhou
When export root dir(/) via nfs, and mount a particular dir under root, eg /nfsexport, there will be defect double slash output in /proc/mounts, like localhost://nfsexport. While this patch change it to localhost:/nfsexport. Signed-off-by: Xiong Zhou --- fs/nfs/namespace.c | 2 +- 1 file changed