Skip to content
Commit 9d4d6574 authored by Dmitry V. Levin's avatar Dmitry V. Levin Committed by Al Viro
Browse files

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: default avatarDmitry V. Levin <ldv@altlinux.org>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 9ad4dc4f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment