diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2025-06-08 23:10:33 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-06-29 18:13:41 -0400 |
commit | 9cb79ed60e38a0767b5b94c31bf1abf6518bc6b9 (patch) | |
tree | c0b70b55a8575fd1e613bb8477cc4013e6fdc2e1 /scripts/lib/kdoc/kdoc_files.py | |
parent | 592238c03ef9e44ad6031b671da869ebcbffa8dc (diff) |
new predicate: mount_is_ancestor()
mount_is_ancestor(p1, p2) returns true iff there is a possibly
empty ancestry chain from p1 to p2.
Convert the open-coded checks. Unlike those open-coded variants
it does not depend upon p1 not being root...
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions