On Tue, Jun 10, 2025 at 09:21:26AM +0100, Al Viro wrote: > 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... > > Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx> > --- Reviewed-by: Christian Brauner <brauner@xxxxxxxxxx>