Lines Matching refs:old_dir
510 static int hpfs_rename(struct inode *old_dir, struct dentry *old_dentry,
545 if (!(dep = map_dirent(old_dir, hpfs_i(old_dir)->i_dno, old_name, old_len, &dno, &qbh))) {
555 if ((r = hpfs_remove_dirent(old_dir, dno, dep, &qbh, 1)) != 2) {
572 if (new_dir == old_dir) hpfs_brelse4(&qbh);
577 if (new_dir != old_dir) hpfs_brelse4(&qbh);
581 if (new_dir == old_dir)
582 if (!(dep = map_dirent(old_dir, hpfs_i(old_dir)->i_dno, old_name, old_len, &dno, &qbh))) {
588 if ((r = hpfs_remove_dirent(old_dir, dno, dep, &qbh, 0))) {
598 drop_nlink(old_dir);
610 hpfs_update_directory_times(old_dir);