Lines Matching defs:root_mnt
3725 struct mount *new_mnt, *root_mnt, *old_mnt, *root_parent, *ex_parent;
3754 root_mnt = real_mount(root.mnt);
3757 root_parent = root_mnt->mnt_parent;
3762 if (!check_mnt(root_mnt) || !check_mnt(new_mnt))
3770 if (new_mnt == root_mnt || old_mnt == root_mnt)
3775 if (!mnt_has_parent(root_mnt))
3789 root_mp = unhash_mnt(root_mnt); /* we'll need its mountpoint */
3790 if (root_mnt->mnt.mnt_flags & MNT_LOCKED) {
3792 root_mnt->mnt.mnt_flags &= ~MNT_LOCKED;
3795 attach_mnt(root_mnt, old_mnt, old_mp);