Lines Matching refs:old_dir
896 static int vfat_rename(struct user_namespace *mnt_userns, struct inode *old_dir, in vfat_rename() argument
907 struct super_block *sb = old_dir->i_sb; in vfat_rename()
916 err = vfat_find(old_dir, &old_dentry->d_name, &old_sinfo); in vfat_rename()
921 update_dotdot = (is_dir && old_dir != new_dir); in vfat_rename()
929 ts = current_time(old_dir); in vfat_rename()
964 drop_nlink(old_dir); in vfat_rename()
969 err = fat_remove_entries(old_dir, &old_sinfo); /* and releases bh */ in vfat_rename()
973 inode_inc_iversion(old_dir); in vfat_rename()
974 fat_truncate_time(old_dir, &ts, S_CTIME|S_MTIME); in vfat_rename()
975 if (IS_DIRSYNC(old_dir)) in vfat_rename()
976 (void)fat_sync_inode(old_dir); in vfat_rename()
978 mark_inode_dirty(old_dir); in vfat_rename()
999 fat_set_start(dotdot_de, MSDOS_I(old_dir)->i_logstart); in vfat_rename()