Lines Matching refs:old_inode
1197 struct inode *old_inode = d_inode(old_dentry); in ocfs2_rename() local
1257 if (old_dir != new_dir && S_ISDIR(old_inode->i_mode)) { in ocfs2_rename()
1268 old_inode->i_ino); in ocfs2_rename()
1275 (unsigned long long)old_inode->i_ino, in ocfs2_rename()
1314 status = ocfs2_inode_lock_nested(old_inode, &old_inode_bh, 1, in ocfs2_rename()
1329 if (S_ISDIR(old_inode->i_mode)) { in ocfs2_rename()
1334 old_inode, in ocfs2_rename()
1367 if (old_de_ino != OCFS2_I(old_inode)->ip_blkno) { in ocfs2_rename()
1502 old_inode); in ocfs2_rename()
1525 status = ocfs2_add_entry(handle, new_dentry, old_inode, in ocfs2_rename()
1526 OCFS2_I(old_inode)->ip_blkno, in ocfs2_rename()
1534 old_inode->i_ctime = current_time(old_inode); in ocfs2_rename()
1535 mark_inode_dirty(old_inode); in ocfs2_rename()
1537 status = ocfs2_journal_access_di(handle, INODE_CACHE(old_inode), in ocfs2_rename()
1543 old_di->i_ctime = cpu_to_le64(old_inode->i_ctime.tv_sec); in ocfs2_rename()
1544 old_di->i_ctime_nsec = cpu_to_le32(old_inode->i_ctime.tv_nsec); in ocfs2_rename()
1588 status = ocfs2_update_entry(old_inode, handle, in ocfs2_rename()
1650 ocfs2_inode_unlock(old_inode, 1); in ocfs2_rename()
1659 sync_mapping_buffers(old_inode->i_mapping); in ocfs2_rename()