Lines Matching refs:old_dir
895 static int vfat_rename(struct inode *old_dir, struct dentry *old_dentry,
906 struct super_block *sb = old_dir->i_sb;
915 err = vfat_find(old_dir, &old_dentry->d_name, &old_sinfo);
920 update_dotdot = (is_dir && old_dir != new_dir);
928 ts = current_time(old_dir);
963 drop_nlink(old_dir);
968 err = fat_remove_entries(old_dir, &old_sinfo); /* and releases bh */
972 inode_inc_iversion(old_dir);
973 fat_truncate_time(old_dir, &ts, S_CTIME|S_MTIME);
974 if (IS_DIRSYNC(old_dir))
975 (void)fat_sync_inode(old_dir);
977 mark_inode_dirty(old_dir);
998 fat_set_start(dotdot_de, MSDOS_I(old_dir)->i_logstart);