Lines Matching refs:target_dir
195 * Make sure target_dir is fully connected to the dentry tree.
198 * target_dir, and target_dir->d_parent->...->d_parent will reach the
201 * Whenever DCACHE_DISCONNECTED is unset, target_dir is fully connected.
202 * But the converse is not true: target_dir may have DCACHE_DISCONNECTED
206 * Note that target_dir could be removed by a concurrent operation. In
207 * that case reconnect_path may still succeed with target_dir fully
212 reconnect_path(struct vfsmount *mnt, struct dentry *target_dir, char *nbuf)
216 dentry = dget(target_dir);
234 clear_disconnected(target_dir);
499 struct dentry *target_dir, *nresult;
522 target_dir = nop->fh_to_parent(mnt->mnt_sb, fid,
524 if (!target_dir)
526 err = PTR_ERR(target_dir);
527 if (IS_ERR(target_dir))
535 err = reconnect_path(mnt, target_dir, nbuf);
537 dput(target_dir);
546 err = exportfs_get_name(mnt, target_dir, nbuf, result);
548 dput(target_dir);
552 inode_lock(target_dir->d_inode);
554 target_dir, strlen(nbuf));
561 inode_unlock(target_dir->d_inode);
566 dput(target_dir);