move d_rcu from overlapping d_child to overlapping d_alias
[GitHub/LineageOS/android_kernel_motorola_exynos9610.git] / fs / debugfs / inode.c
index 1e3b99d3db0df8ff236589a0ec64ec2c73bf8013..05f2960ed7c3be5d7c4095f7fe814339ce0ae370 100644 (file)
@@ -553,7 +553,7 @@ void debugfs_remove_recursive(struct dentry *dentry)
         * use the d_u.d_child as the rcu head and corrupt this list.
         */
        spin_lock(&parent->d_lock);
-       list_for_each_entry(child, &parent->d_subdirs, d_u.d_child) {
+       list_for_each_entry(child, &parent->d_subdirs, d_child) {
                if (!debugfs_positive(child))
                        continue;