Searched refs:old_mnt (Results 1 – 1 of 1) sorted by relevance
1951 struct mount *old_mnt = real_mount(path->mnt); in clone_private_mount() local1955 if (IS_MNT_UNBINDABLE(old_mnt)) in clone_private_mount()1958 if (!check_mnt(old_mnt)) in clone_private_mount()1961 if (has_locked_children(old_mnt, path->dentry)) in clone_private_mount()1964 new_mnt = clone_mnt(old_mnt, path->dentry, CL_PRIVATE); in clone_private_mount()3724 struct mount *new_mnt, *root_mnt, *old_mnt, *root_parent, *ex_parent; in SYSCALL_DEFINE2() local3754 old_mnt = real_mount(old.mnt); in SYSCALL_DEFINE2()3757 if (IS_MNT_SHARED(old_mnt) || in SYSCALL_DEFINE2()3769 if (new_mnt == root_mnt || old_mnt == root_mnt) in SYSCALL_DEFINE2()3781 if (!is_path_reachable(old_mnt, old.dentry, &new)) in SYSCALL_DEFINE2()[all …]