Searched refs:odentry (Results 1 – 3 of 3) sorted by relevance
/fs/gfs2/ |
D | inode.c | 1351 static int gfs2_rename(struct inode *odir, struct dentry *odentry, in gfs2_rename() argument 1356 struct gfs2_inode *ip = GFS2_I(d_inode(odentry)); in gfs2_rename() 1430 error = gfs2_unlink_ok(odip, &odentry->d_name, ip); in gfs2_rename() 1493 error = gfs2_permission(d_inode(odentry), MAY_WRITE); in gfs2_rename() 1534 error = gfs2_dir_del(odip, odentry); in gfs2_rename() 1574 static int gfs2_exchange(struct inode *odir, struct dentry *odentry, in gfs2_exchange() argument 1580 struct gfs2_inode *oip = GFS2_I(odentry->d_inode); in gfs2_exchange() 1638 error = gfs2_unlink_ok(odip, &odentry->d_name, oip); in gfs2_exchange() 1646 error = gfs2_permission(odentry->d_inode, MAY_WRITE); in gfs2_exchange() 1672 error = gfs2_dir_mvino(odip, &odentry->d_name, nip, in gfs2_exchange() [all …]
|
/fs/nfsd/ |
D | vfs.c | 1660 struct dentry *fdentry, *tdentry, *odentry, *ndentry, *trap; in nfsd_rename() local 1695 odentry = lookup_one_len(fname, fdentry, flen); in nfsd_rename() 1696 host_err = PTR_ERR(odentry); in nfsd_rename() 1697 if (IS_ERR(odentry)) in nfsd_rename() 1701 if (d_really_is_negative(odentry)) in nfsd_rename() 1704 if (odentry == trap) in nfsd_rename() 1721 host_err = vfs_rename(fdir, odentry, tdir, ndentry, NULL, 0); in nfsd_rename() 1730 dput(odentry); in nfsd_rename()
|
/fs/xfs/ |
D | xfs_iops.c | 414 struct dentry *odentry, in xfs_vn_rename() argument 432 error = xfs_dentry_mode_to_name(&oname, odentry, omode); in xfs_vn_rename() 437 d_inode(odentry)->i_mode); in xfs_vn_rename() 441 return xfs_rename(XFS_I(odir), &oname, XFS_I(d_inode(odentry)), in xfs_vn_rename()
|