Lines Matching defs:old_dir
444 static int do_msdos_rename(struct inode *old_dir, unsigned char *old_name,
461 err = fat_scan(old_dir, old_name, &old_sinfo);
468 update_dotdot = (is_dir && old_dir != new_dir);
490 if (IS_DIRSYNC(old_dir)) {
499 old_dir->i_version++;
500 old_dir->i_ctime = old_dir->i_mtime = CURRENT_TIME_SEC;
501 if (IS_DIRSYNC(old_dir))
502 (void)fat_sync_inode(old_dir);
504 mark_inode_dirty(old_dir);
552 drop_nlink(old_dir);
557 err = fat_remove_entries(old_dir, &old_sinfo); /* and releases bh */
561 old_dir->i_version++;
562 old_dir->i_ctime = old_dir->i_mtime = ts;
563 if (IS_DIRSYNC(old_dir))
564 (void)fat_sync_inode(old_dir);
566 mark_inode_dirty(old_dir);
585 int start = MSDOS_I(old_dir)->i_logstart;
618 static int msdos_rename(struct inode *old_dir, struct dentry *old_dentry,
628 &MSDOS_SB(old_dir->i_sb)->options);
640 err = do_msdos_rename(old_dir, old_msdos_name, old_dentry,
645 err = fat_flush_inodes(old_dir->i_sb, old_dir, new_dir);