commit | 9d4d65748a5ca26ea8650e50ba521295549bf4e3 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Tue Dec 16 06:59:37 2014 +0300 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Dec 17 08:27:15 2014 -0500 |
tree | 6ab682d37fb472d76c8593f72168c5c58b1479a1 | |
parent | 9ad4dc4f7318080e2e4e0cd23623211a20d33861 [diff] |
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>