aufs: fix up for the new stable kernel
authorGrazvydas Ignotas <notasas@gmail.com>
Sat, 7 Feb 2015 22:45:59 +0000 (00:45 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 20 Feb 2015 20:11:08 +0000 (22:11 +0200)
fs/aufs/dcsub.c

index 5b3d904..bb02c70 100644 (file)
@@ -134,7 +134,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);
+                                                  d_child);
 
                next = tmp->next;
                spin_lock_nested(&dentry->d_lock, DENTRY_D_LOCK_NESTED);
@@ -170,7 +170,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;
        }