diff options
Diffstat (limited to 'kernel/cpuset.c')
-rw-r--r-- | kernel/cpuset.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/cpuset.c b/kernel/cpuset.c index e04c2da9dadb..eab64e23bcae 100644 --- a/kernel/cpuset.c +++ b/kernel/cpuset.c | |||
@@ -331,7 +331,7 @@ static void cpuset_d_remove_dir(struct dentry *dentry) | |||
331 | spin_lock(&dcache_lock); | 331 | spin_lock(&dcache_lock); |
332 | node = dentry->d_subdirs.next; | 332 | node = dentry->d_subdirs.next; |
333 | while (node != &dentry->d_subdirs) { | 333 | while (node != &dentry->d_subdirs) { |
334 | struct dentry *d = list_entry(node, struct dentry, d_child); | 334 | struct dentry *d = list_entry(node, struct dentry, d_u.d_child); |
335 | list_del_init(node); | 335 | list_del_init(node); |
336 | if (d->d_inode) { | 336 | if (d->d_inode) { |
337 | d = dget_locked(d); | 337 | d = dget_locked(d); |
@@ -343,7 +343,7 @@ static void cpuset_d_remove_dir(struct dentry *dentry) | |||
343 | } | 343 | } |
344 | node = dentry->d_subdirs.next; | 344 | node = dentry->d_subdirs.next; |
345 | } | 345 | } |
346 | list_del_init(&dentry->d_child); | 346 | list_del_init(&dentry->d_u.d_child); |
347 | spin_unlock(&dcache_lock); | 347 | spin_unlock(&dcache_lock); |
348 | remove_dir(dentry); | 348 | remove_dir(dentry); |
349 | } | 349 | } |