Lines Matching refs:old_dir
1017 static int jfs_rename(struct inode *old_dir, struct dentry *old_dentry, in jfs_rename() argument
1053 rc = dtSearch(old_dir, &old_dname, &ino, &btstack, JFS_LOOKUP); in jfs_rename()
1082 } else if ((new_dir != old_dir) && in jfs_rename()
1097 if (old_dir != new_dir) in jfs_rename()
1098 down(&JFS_IP(old_dir)->commit_sem); in jfs_rename()
1116 if (old_dir != new_dir) in jfs_rename()
1117 up(&JFS_IP(old_dir)->commit_sem); in jfs_rename()
1169 rc = dtDelete(tid, old_dir, &old_dname, &ino, JFS_REMOVE); in jfs_rename()
1177 old_dir->i_nlink--; in jfs_rename()
1178 if (old_dir != new_dir) { in jfs_rename()
1213 iplist[ipcount++] = old_dir; in jfs_rename()
1215 if (old_dir != new_dir) { in jfs_rename()
1217 old_dir->i_ctime = old_dir->i_mtime = CURRENT_TIME; in jfs_rename()
1218 mark_inode_dirty(old_dir); in jfs_rename()
1238 if (old_dir != new_dir) in jfs_rename()
1239 up(&JFS_IP(old_dir)->commit_sem); in jfs_rename()
1268 if (test_cflag(COMMIT_Stale, old_dir)) { in jfs_rename()
1269 if (old_dir->i_size > 1) in jfs_rename()
1270 jfs_truncate_nolock(old_dir, 0); in jfs_rename()
1272 clear_cflag(COMMIT_Stale, old_dir); in jfs_rename()