]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
vfs: make mounts and mountstats honor root dir like mountinfo does
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 16 Dec 2014 03:59:37 +0000 (06:59 +0300)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 17 Dec 2014 13:27:15 +0000 (08:27 -0500)
commit9d4d65748a5ca26ea8650e50ba521295549bf4e3
tree6ab682d37fb472d76c8593f72168c5c58b1479a1
parent9ad4dc4f7318080e2e4e0cd23623211a20d33861
vfs: make mounts and mountstats honor root dir like mountinfo does

As we already show mountpoints relative to the root directory, thanks
to the change made back in 2000, change show_vfsmnt() and show_vfsstat()
to skip out-of-root mountpoints the same way as show_mountinfo() does.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/proc_namespace.c