Re: [PATCH] nfs: use canonical path in nfs_show_devname

2014-08-20 Thread Ben Hutchings
On Tue, 2014-08-19 at 23:06 -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. > > Signed-off-by: Xiong Zhou > --- > fs/nfs/super.c | 2 +- > 1

[PATCH] nfs: use canonical path in nfs_show_devname

2014-08-19 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. Signed-off-by: Xiong Zhou --- fs/nfs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfs/su