ovl: pass dentry into ovl_dir_read_merged()
[deliverable/linux.git] / fs / namei.c
index 78512898d3ba6810b36a9e5128b8a5c84e547a91..db5fe86319e69d51e59ff6dd0053d199b406bdc9 100644 (file)
@@ -2497,7 +2497,7 @@ struct dentry *lock_rename(struct dentry *p1, struct dentry *p2)
        }
 
        mutex_lock_nested(&p1->d_inode->i_mutex, I_MUTEX_PARENT);
-       mutex_lock_nested(&p2->d_inode->i_mutex, I_MUTEX_CHILD);
+       mutex_lock_nested(&p2->d_inode->i_mutex, I_MUTEX_PARENT2);
        return NULL;
 }
 EXPORT_SYMBOL(lock_rename);
This page took 0.024249 seconds and 5 git commands to generate.