Lines Matching refs:root_mnt
4665 struct mount *new_mnt, *root_mnt, *old_mnt, *root_parent, *ex_parent; in SYSCALL_DEFINE2() local
4693 root_mnt = real_mount(root.mnt); in SYSCALL_DEFINE2()
4696 root_parent = root_mnt->mnt_parent; in SYSCALL_DEFINE2()
4701 if (!check_mnt(root_mnt) || !check_mnt(new_mnt)) in SYSCALL_DEFINE2()
4709 if (new_mnt == root_mnt || old_mnt == root_mnt) in SYSCALL_DEFINE2()
4714 if (!mnt_has_parent(root_mnt)) in SYSCALL_DEFINE2()
4728 if (root_mnt->mnt.mnt_flags & MNT_LOCKED) { in SYSCALL_DEFINE2()
4730 root_mnt->mnt.mnt_flags &= ~MNT_LOCKED; in SYSCALL_DEFINE2()
4733 attach_mnt(new_mnt, root_parent, root_mnt->mnt_mp); in SYSCALL_DEFINE2()
4734 umount_mnt(root_mnt); in SYSCALL_DEFINE2()
4736 attach_mnt(root_mnt, old_mnt, old_mp.mp); in SYSCALL_DEFINE2()
4741 mnt_notify_add(root_mnt); in SYSCALL_DEFINE2()