mnt_has_parent
while (mnt_has_parent(m)) {
if (!mnt_has_parent(mnt))
if (mnt_has_parent(p)) {
if (!mnt_has_parent(mnt)) /* not the absolute root */
bool moving = mnt_has_parent(source_mnt);
while (p2 != p1 && mnt_has_parent(p2))
if (!mnt_has_parent(old) || IS_MNT_LOCKED(old))
while (&mnt->mnt != root->mnt && mnt_has_parent(mnt)) {
if (!mnt_has_parent(root_mnt))
if (!mnt_has_parent(new_mnt))