Lines Matching refs:old_dir
986 static int ext3_rename (struct inode * old_dir, struct dentry *old_dentry, in ext3_rename() argument
997 handle = ext3_journal_start(old_dir, 2 * EXT3_DATA_TRANS_BLOCKS + 2); in ext3_rename()
1001 if (IS_SYNC(old_dir) || IS_SYNC(new_dir)) in ext3_rename()
1036 if (le32_to_cpu(PARENT_INO(dir_bh->b_data)) != old_dir->i_ino) in ext3_rename()
1039 if (!new_inode && new_dir!=old_dir && in ext3_rename()
1072 ext3_delete_entry(handle, old_dir, old_de, old_bh); in ext3_rename()
1078 old_dir->i_ctime = old_dir->i_mtime = CURRENT_TIME; in ext3_rename()
1079 old_dir->u.ext3_i.i_flags &= ~EXT3_INDEX_FL; in ext3_rename()
1086 old_dir->i_nlink--; in ext3_rename()
1095 ext3_mark_inode_dirty(handle, old_dir); in ext3_rename()
1107 ext3_journal_stop(handle, old_dir); in ext3_rename()