Searched refs:old_nd (Results 1 – 3 of 3) sorted by relevance
/linux-2.4.37.9/fs/ |
D | namespace.c | 97 static void detach_mnt(struct vfsmount *mnt, struct nameidata *old_nd) in detach_mnt() argument 99 old_nd->dentry = mnt->mnt_mountpoint; in detach_mnt() 100 old_nd->mnt = mnt->mnt_parent; in detach_mnt() 105 old_nd->dentry->d_mounted--; in detach_mnt() 279 struct nameidata old_nd; in umount_tree() local 280 detach_mnt(mnt, &old_nd); in umount_tree() 282 path_release(&old_nd); in umount_tree() 489 struct nameidata old_nd; in do_loopback() local 496 err = path_lookup(old_name, LOOKUP_POSITIVE|LOOKUP_FOLLOW, &old_nd); in do_loopback() 502 if (check_mnt(nd->mnt) && (!recurse || check_mnt(old_nd.mnt))) { in do_loopback() [all …]
|
D | namei.c | 1687 struct nameidata nd, old_nd; in sys_link() local 1689 error = __user_walk(oldname, LOOKUP_POSITIVE, &old_nd); in sys_link() 1696 if (old_nd.mnt != nd.mnt) in sys_link() 1701 error = vfs_link(old_nd.dentry, nd.dentry->d_inode, new_dentry); in sys_link() 1708 path_release(&old_nd); in sys_link()
|
/linux-2.4.37.9/fs/intermezzo/ |
D | vfs.c | 855 struct nameidata nd, old_nd; in lento_link() local 858 if (path_init(from, LOOKUP_POSITIVE, &old_nd)) in lento_link() 859 error = path_walk(from, &old_nd); in lento_link() 867 if (old_nd.mnt != nd.mnt) in lento_link() 880 error = presto_do_link(fset, old_nd.dentry, in lento_link() 889 path_release(&old_nd); in lento_link()
|