diff options
Diffstat (limited to 'fs/debugfs')
-rw-r--r-- | fs/debugfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c index 1e3b99d3db0d..05f2960ed7c3 100644 --- a/fs/debugfs/inode.c +++ b/fs/debugfs/inode.c | |||
@@ -553,7 +553,7 @@ void debugfs_remove_recursive(struct dentry *dentry) | |||
553 | * use the d_u.d_child as the rcu head and corrupt this list. | 553 | * use the d_u.d_child as the rcu head and corrupt this list. |
554 | */ | 554 | */ |
555 | spin_lock(&parent->d_lock); | 555 | spin_lock(&parent->d_lock); |
556 | list_for_each_entry(child, &parent->d_subdirs, d_u.d_child) { | 556 | list_for_each_entry(child, &parent->d_subdirs, d_child) { |
557 | if (!debugfs_positive(child)) | 557 | if (!debugfs_positive(child)) |
558 | continue; | 558 | continue; |
559 | 559 | ||