if (!(nd->flags & LOOKUP_RCU)) {
touch_atime(&last->link);
cond_resched();
- } else if (atime_needs_update(&last->link, inode)) {
+ } else if (atime_needs_update_rcu(&last->link, inode)) {
if (unlikely(unlazy_walk(nd, NULL, 0)))
return ERR_PTR(-ECHILD);
touch_atime(&last->link);
if (error)
return error;
- if (!old_dir->i_op->rename2)
+ if (!old_dir->i_op->rename)
return -EPERM;
/*
if (error)
goto out;
}
- error = old_dir->i_op->rename2(old_dir, old_dentry,
+ error = old_dir->i_op->rename(old_dir, old_dentry,
new_dir, new_dentry, flags);
if (error)
goto out;