Searched refs:odentry (Results 1 – 3 of 3) sorted by relevance
/fs/nfsd/ |
D | vfs.c | 1620 struct dentry *fdentry, *tdentry, *odentry, *ndentry, *trap; in nfsd_rename() local 1655 odentry = lookup_one_len(fname, fdentry, flen); in nfsd_rename() 1656 host_err = PTR_ERR(odentry); in nfsd_rename() 1657 if (IS_ERR(odentry)) in nfsd_rename() 1661 if (!odentry->d_inode) in nfsd_rename() 1664 if (odentry == trap) in nfsd_rename() 1681 host_err = vfs_rename(fdir, odentry, tdir, ndentry, NULL, 0); in nfsd_rename() 1690 dput(odentry); in nfsd_rename()
|
/fs/xfs/ |
D | xfs_iops.c | 384 struct dentry *odentry, in xfs_vn_rename() argument 392 xfs_dentry_to_name(&oname, odentry, 0); in xfs_vn_rename() 393 xfs_dentry_to_name(&nname, ndentry, odentry->d_inode->i_mode); in xfs_vn_rename() 395 return xfs_rename(XFS_I(odir), &oname, XFS_I(odentry->d_inode), in xfs_vn_rename()
|
/fs/gfs2/ |
D | inode.c | 1334 static int gfs2_rename(struct inode *odir, struct dentry *odentry, in gfs2_rename() argument 1339 struct gfs2_inode *ip = GFS2_I(odentry->d_inode); in gfs2_rename() 1412 error = gfs2_unlink_ok(odip, &odentry->d_name, ip); in gfs2_rename() 1475 error = gfs2_permission(odentry->d_inode, MAY_WRITE); in gfs2_rename() 1527 error = gfs2_dir_del(odip, odentry); in gfs2_rename()
|