Lines Matching defs:odentry
1364 * @odentry: The old dentry of the file
1371 static int gfs2_rename(struct inode *odir, struct dentry *odentry,
1376 struct gfs2_inode *ip = GFS2_I(d_inode(odentry));
1465 error = gfs2_unlink_ok(odip, &odentry->d_name, ip);
1528 error = gfs2_permission(d_inode(odentry), MAY_WRITE);
1569 error = gfs2_dir_del(odip, odentry);
1606 * @odentry: The old dentry of the file
1614 static int gfs2_exchange(struct inode *odir, struct dentry *odentry,
1620 struct gfs2_inode *oip = GFS2_I(odentry->d_inode);
1683 error = gfs2_unlink_ok(odip, &odentry->d_name, oip);
1691 error = gfs2_permission(odentry->d_inode, MAY_WRITE);
1717 error = gfs2_dir_mvino(odip, &odentry->d_name, nip,
1750 static int gfs2_rename2(struct inode *odir, struct dentry *odentry,
1760 return gfs2_exchange(odir, odentry, ndir, ndentry, flags);
1762 return gfs2_rename(odir, odentry, ndir, ndentry);