Lines Matching refs:c1
3084 * c1 and p2 should be on the same fs.
3086 struct dentry *lock_rename_child(struct dentry *c1, struct dentry *p2)
3088 if (READ_ONCE(c1->d_parent) == p2) {
3097 if (likely(c1->d_parent == p2))
3101 * c1 got moved out of p2 while we'd been taking locks;
3107 mutex_lock(&c1->d_sb->s_vfs_rename_mutex);
3111 if (likely(c1->d_parent != p2))
3112 return lock_two_directories(c1->d_parent, p2);
3115 * c1 got moved into p2 while we were taking locks;
3120 mutex_unlock(&c1->d_sb->s_vfs_rename_mutex);