Lines Matching refs:old_dir
2261 static int ext3_rename (struct inode * old_dir, struct dentry *old_dentry, in ext3_rename() argument
2276 handle = ext3_journal_start(old_dir, 2 * in ext3_rename()
2277 EXT3_DATA_TRANS_BLOCKS(old_dir->i_sb) + in ext3_rename()
2282 if (IS_DIRSYNC(old_dir) || IS_DIRSYNC(new_dir)) in ext3_rename()
2285 old_bh = ext3_find_entry(old_dir, &old_dentry->d_name, &old_de); in ext3_rename()
2315 if (le32_to_cpu(PARENT_INO(dir_bh->b_data)) != old_dir->i_ino) in ext3_rename()
2318 if (!new_inode && new_dir!=old_dir && in ext3_rename()
2355 (retval = ext3_delete_entry(handle, old_dir, in ext3_rename()
2364 old_bh2 = ext3_find_entry(old_dir, &old_dentry->d_name, in ext3_rename()
2367 retval = ext3_delete_entry(handle, old_dir, in ext3_rename()
2373 ext3_warning(old_dir->i_sb, "ext3_rename", in ext3_rename()
2375 old_dir->i_ino, old_dir->i_nlink, retval); in ext3_rename()
2382 old_dir->i_ctime = old_dir->i_mtime = CURRENT_TIME_SEC; in ext3_rename()
2383 ext3_update_dx_flag(old_dir); in ext3_rename()
2390 drop_nlink(old_dir); in ext3_rename()
2399 ext3_mark_inode_dirty(handle, old_dir); in ext3_rename()