Searched refs:old_mnt (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.10/fs/ |
D | namespace.c | 1927 struct mount *old_mnt = real_mount(path->mnt); in clone_private_mount() local 1930 if (IS_MNT_UNBINDABLE(old_mnt)) in clone_private_mount() 1933 new_mnt = clone_mnt(old_mnt, path->dentry, CL_PRIVATE); in clone_private_mount() 3689 struct mount *new_mnt, *root_mnt, *old_mnt, *root_parent, *ex_parent; in SYSCALL_DEFINE2() local 3719 old_mnt = real_mount(old.mnt); in SYSCALL_DEFINE2() 3722 if (IS_MNT_SHARED(old_mnt) || in SYSCALL_DEFINE2() 3734 if (new_mnt == root_mnt || old_mnt == root_mnt) in SYSCALL_DEFINE2() 3746 if (!is_path_reachable(old_mnt, old.dentry, &new)) in SYSCALL_DEFINE2() 3759 attach_mnt(root_mnt, old_mnt, old_mp); in SYSCALL_DEFINE2()
|