nsfs: Add a show_path method to fix mountinfo
authorEric W. Biederman <ebiederm@xmission.com>
Sun, 24 May 2015 17:49:04 +0000 (12:49 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Sat, 11 Jul 2015 16:09:00 +0000 (11:09 -0500)
Today mountinfo displays a very unhelpful "/" for nsfs files.  Add a
show_path method returning the same string as ns_dname.  This results
in a bind mount of /proc/<pid>/ns/net showing up in /proc/<pid>/mountinfo as
"net:[1234...]" instead of "/".

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>

No differences found