Lines Matching refs:odentry
1485 * @odentry: The old dentry of the file
1492 static int gfs2_rename(struct inode *odir, struct dentry *odentry,
1497 struct gfs2_inode *ip = GFS2_I(d_inode(odentry));
1592 error = gfs2_unlink_ok(odip, &odentry->d_name, ip);
1657 error = gfs2_permission(&nop_mnt_idmap, d_inode(odentry),
1699 error = gfs2_dir_del(odip, odentry);
1736 * @odentry: The old dentry of the file
1744 static int gfs2_exchange(struct inode *odir, struct dentry *odentry,
1750 struct gfs2_inode *oip = GFS2_I(odentry->d_inode);
1821 error = gfs2_unlink_ok(odip, &odentry->d_name, oip);
1829 error = gfs2_permission(&nop_mnt_idmap, odentry->d_inode,
1857 error = gfs2_dir_mvino(odip, &odentry->d_name, nip,
1891 struct dentry *odentry, struct inode *ndir,
1900 return gfs2_exchange(odir, odentry, ndir, ndentry, flags);
1902 return gfs2_rename(odir, odentry, ndir, ndentry);