Lines Matching defs:odentry
1389 * @odentry: The old dentry of the file
1396 static int gfs2_rename(struct inode *odir, struct dentry *odentry,
1401 struct gfs2_inode *ip = GFS2_I(d_inode(odentry));
1490 error = gfs2_unlink_ok(odip, &odentry->d_name, ip);
1555 error = gfs2_permission(&nop_mnt_idmap, d_inode(odentry),
1597 error = gfs2_dir_del(odip, odentry);
1634 * @odentry: The old dentry of the file
1642 static int gfs2_exchange(struct inode *odir, struct dentry *odentry,
1648 struct gfs2_inode *oip = GFS2_I(odentry->d_inode);
1711 error = gfs2_unlink_ok(odip, &odentry->d_name, oip);
1719 error = gfs2_permission(&nop_mnt_idmap, odentry->d_inode,
1747 error = gfs2_dir_mvino(odip, &odentry->d_name, nip,
1781 struct dentry *odentry, struct inode *ndir,
1790 return gfs2_exchange(odir, odentry, ndir, ndentry, flags);
1792 return gfs2_rename(odir, odentry, ndir, ndentry);