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