Lines Matching refs:old_dir
1082 static int ceph_rename(struct inode *old_dir, struct dentry *old_dentry, in ceph_rename() argument
1086 struct ceph_fs_client *fsc = ceph_sb_to_client(old_dir->i_sb); in ceph_rename()
1095 if (ceph_snap(old_dir) != ceph_snap(new_dir)) in ceph_rename()
1097 if (ceph_snap(old_dir) != CEPH_NOSNAP) { in ceph_rename()
1098 if (old_dir == new_dir && ceph_snap(old_dir) == CEPH_SNAPDIR) in ceph_rename()
1104 if ((old_dir != new_dir) && in ceph_rename()
1105 (!ceph_quota_is_same_realm(old_dir, new_dir))) in ceph_rename()
1109 old_dir, old_dentry, new_dir, new_dentry); in ceph_rename()
1113 ihold(old_dir); in ceph_rename()
1117 req->r_old_dentry_dir = old_dir; in ceph_rename()
1130 err = ceph_mdsc_do_request(mdsc, old_dir, req); in ceph_rename()