aufs: fix up for the new stable kernel
[pandora-kernel.git] / fs / aufs / dcsub.c
index 5e8321e..bb02c70 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2005-2012 Junjiro R. Okajima
+ * Copyright (C) 2005-2013 Junjiro R. Okajima
  *
  * This program, aufs is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -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;
        }