net: fec: Fix NAPI race
[cascardo/linux.git] / fs / debugfs / inode.c
index 1e3b99d..05f2960 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;