Home
last modified time | relevance | path

Searched refs:new_nd (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/fs/
Dnamespace.c870 static void chroot_fs_refs(struct nameidata *old_nd, struct nameidata *new_nd) in chroot_fs_refs() argument
883 set_fs_root(fs, new_nd->mnt, new_nd->dentry); in chroot_fs_refs()
885 set_fs_pwd(fs, new_nd->mnt, new_nd->dentry); in chroot_fs_refs()
909 struct nameidata new_nd, old_nd, parent_nd, root_parent, user_nd; in sys_pivot_root() local
917 error = __user_walk(new_root, LOOKUP_POSITIVE|LOOKUP_FOLLOW|LOOKUP_DIRECTORY, &new_nd); in sys_pivot_root()
921 if (!check_mnt(new_nd.mnt)) in sys_pivot_root()
938 if (IS_DEADDIR(new_nd.dentry->d_inode)) in sys_pivot_root()
940 if (d_unhashed(new_nd.dentry) && !IS_ROOT(new_nd.dentry)) in sys_pivot_root()
945 if (new_nd.mnt == user_nd.mnt || old_nd.mnt == user_nd.mnt) in sys_pivot_root()
950 if (new_nd.mnt->mnt_root != new_nd.dentry) in sys_pivot_root()
[all …]