Lines Matching refs:old_dir
441 static int do_msdos_rename(struct inode *old_dir, char *old_name, in do_msdos_rename() argument
447 struct super_block *sb = old_dir->i_sb; in do_msdos_rename()
499 old_dir->i_version = ++event; in do_msdos_rename()
500 old_dir->i_ctime = old_dir->i_mtime = CURRENT_TIME; in do_msdos_rename()
501 mark_inode_dirty(old_dir); in do_msdos_rename()
511 old_dir->i_nlink--; in do_msdos_rename()
512 mark_inode_dirty(old_dir); in do_msdos_rename()
536 old_dir->i_version = ++event; in do_msdos_rename()
537 old_dir->i_ctime = old_dir->i_mtime = CURRENT_TIME; in do_msdos_rename()
538 mark_inode_dirty(old_dir); in do_msdos_rename()
543 int msdos_rename(struct inode *old_dir,struct dentry *old_dentry, in msdos_rename() argument
546 struct super_block *sb = old_dir->i_sb; in msdos_rename()
555 &MSDOS_SB(old_dir->i_sb)->options); in msdos_rename()
566 error = fat_scan(old_dir, old_msdos_name, &old_bh, &old_de, &old_i_pos); in msdos_rename()
570 error = do_msdos_rename(old_dir, old_msdos_name, old_dentry, in msdos_rename()