Lines Matching refs:old_dir
506 static int hpfs_rename(struct mnt_idmap *idmap, struct inode *old_dir,
541 if (!(dep = map_dirent(old_dir, hpfs_i(old_dir)->i_dno, old_name, old_len, &dno, &qbh))) {
551 if ((r = hpfs_remove_dirent(old_dir, dno, dep, &qbh, 1)) != 2) {
568 if (new_dir == old_dir) hpfs_brelse4(&qbh);
573 if (new_dir != old_dir) hpfs_brelse4(&qbh);
577 if (new_dir == old_dir)
578 if (!(dep = map_dirent(old_dir, hpfs_i(old_dir)->i_dno, old_name, old_len, &dno, &qbh))) {
584 if ((r = hpfs_remove_dirent(old_dir, dno, dep, &qbh, 0))) {
594 drop_nlink(old_dir);
606 hpfs_update_directory_times(old_dir);