Lines Matching refs:old_inode
1209 struct inode *old_inode = d_inode(old_dentry); in ocfs2_rename() local
1269 if (old_dir != new_dir && S_ISDIR(old_inode->i_mode)) { in ocfs2_rename()
1280 old_inode->i_ino); in ocfs2_rename()
1287 (unsigned long long)old_inode->i_ino, in ocfs2_rename()
1326 status = ocfs2_inode_lock_nested(old_inode, &old_inode_bh, 1, in ocfs2_rename()
1341 if (S_ISDIR(old_inode->i_mode)) { in ocfs2_rename()
1346 old_inode, in ocfs2_rename()
1379 if (old_de_ino != OCFS2_I(old_inode)->ip_blkno) { in ocfs2_rename()
1514 old_inode); in ocfs2_rename()
1537 status = ocfs2_add_entry(handle, new_dentry, old_inode, in ocfs2_rename()
1538 OCFS2_I(old_inode)->ip_blkno, in ocfs2_rename()
1546 inode_set_ctime_current(old_inode); in ocfs2_rename()
1547 mark_inode_dirty(old_inode); in ocfs2_rename()
1549 status = ocfs2_journal_access_di(handle, INODE_CACHE(old_inode), in ocfs2_rename()
1555 old_di->i_ctime = cpu_to_le64(inode_get_ctime_sec(old_inode)); in ocfs2_rename()
1556 old_di->i_ctime_nsec = cpu_to_le32(inode_get_ctime_nsec(old_inode)); in ocfs2_rename()
1600 status = ocfs2_update_entry(old_inode, handle, in ocfs2_rename()
1663 ocfs2_inode_unlock(old_inode, 1); in ocfs2_rename()
1672 sync_mapping_buffers(old_inode->i_mapping); in ocfs2_rename()