Lines Matching defs:odentry
1391 * @odentry: The old dentry of the file
1398 static int gfs2_rename(struct inode *odir, struct dentry *odentry,
1403 struct gfs2_inode *ip = GFS2_I(d_inode(odentry));
1492 error = gfs2_unlink_ok(odip, &odentry->d_name, ip);
1557 error = gfs2_permission(&nop_mnt_idmap, d_inode(odentry),
1599 error = gfs2_dir_del(odip, odentry);
1636 * @odentry: The old dentry of the file
1644 static int gfs2_exchange(struct inode *odir, struct dentry *odentry,
1650 struct gfs2_inode *oip = GFS2_I(odentry->d_inode);
1713 error = gfs2_unlink_ok(odip, &odentry->d_name, oip);
1721 error = gfs2_permission(&nop_mnt_idmap, odentry->d_inode,
1749 error = gfs2_dir_mvino(odip, &odentry->d_name, nip,
1783 struct dentry *odentry, struct inode *ndir,
1792 return gfs2_exchange(odir, odentry, ndir, ndentry, flags);
1794 return gfs2_rename(odir, odentry, ndir, ndentry);