This applies to linux-3.12.37 onwards, see commit
4b2f6663ebde6bed50209a05041b34c203116253 for reference.

Signed-off-by: Phil Sutter <phil.sut...@viprinet.com>
---
 fs/aufs/dcsub.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/fs/aufs/dcsub.c b/fs/aufs/dcsub.c
index 4b2a6f5..94d010d 100644
--- a/fs/aufs/dcsub.c
+++ b/fs/aufs/dcsub.c
@@ -132,8 +132,7 @@ resume:
 
        while (next != &this_parent->d_subdirs) {
                struct list_head *tmp = next;
-               struct dentry *dentry = list_entry(tmp, struct dentry,
-                                                  d_u.d_child);
+               struct dentry *dentry = list_entry(tmp, struct dentry, d_child);
 
                next = tmp->next;
                spin_lock_nested(&dentry->d_lock, DENTRY_D_LOCK_NESTED);
@@ -169,7 +168,7 @@ resume:
                this_parent = tmp;
                spin_lock(&this_parent->d_lock);
                rcu_read_unlock();
-               next = child->d_u.d_child.next;
+               next = child->d_child.next;
                goto resume;
        }
 
-- 
1.8.5.5


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/

Reply via email to