Home
last modified time | relevance | path

Searched refs:odentry (Results 1 – 3 of 3) sorted by relevance

/fs/gfs2/
Dinode.c1371 static int gfs2_rename(struct inode *odir, struct dentry *odentry, in gfs2_rename() argument
1376 struct gfs2_inode *ip = GFS2_I(d_inode(odentry)); in gfs2_rename()
1465 error = gfs2_unlink_ok(odip, &odentry->d_name, ip); in gfs2_rename()
1528 error = gfs2_permission(d_inode(odentry), MAY_WRITE); in gfs2_rename()
1569 error = gfs2_dir_del(odip, odentry); in gfs2_rename()
1614 static int gfs2_exchange(struct inode *odir, struct dentry *odentry, in gfs2_exchange() argument
1620 struct gfs2_inode *oip = GFS2_I(odentry->d_inode); in gfs2_exchange()
1683 error = gfs2_unlink_ok(odip, &odentry->d_name, oip); in gfs2_exchange()
1691 error = gfs2_permission(odentry->d_inode, MAY_WRITE); in gfs2_exchange()
1717 error = gfs2_dir_mvino(odip, &odentry->d_name, nip, in gfs2_exchange()
[all …]
/fs/nfsd/
Dvfs.c1738 struct dentry *fdentry, *tdentry, *odentry, *ndentry, *trap; in nfsd_rename() local
1781 odentry = lookup_one_len(fname, fdentry, flen); in nfsd_rename()
1782 host_err = PTR_ERR(odentry); in nfsd_rename()
1783 if (IS_ERR(odentry)) in nfsd_rename()
1787 if (d_really_is_negative(odentry)) in nfsd_rename()
1790 if (odentry == trap) in nfsd_rename()
1805 host_err = vfs_rename(fdir, odentry, tdir, ndentry, NULL, 0); in nfsd_rename()
1815 dput(odentry); in nfsd_rename()
/fs/xfs/
Dxfs_iops.c409 struct dentry *odentry, in xfs_vn_rename() argument
427 error = xfs_dentry_mode_to_name(&oname, odentry, omode); in xfs_vn_rename()
432 d_inode(odentry)->i_mode); in xfs_vn_rename()
436 return xfs_rename(XFS_I(odir), &oname, XFS_I(d_inode(odentry)), in xfs_vn_rename()