[RBTREE] Update ext3 to use rb_parent() accessor macro.
authorDavid Woodhouse <dwmw2@infradead.org>
Fri, 21 Apr 2006 12:15:57 +0000 (13:15 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Fri, 21 Apr 2006 12:15:57 +0000 (13:15 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/ext3/dir.c

index f37528e..fbb0d4e 100644 (file)
@@ -284,7 +284,7 @@ static void free_rb_tree_fname(struct rb_root *root)
                 * beginning of the loop and try to free the parent
                 * node.
                 */
-               parent = n->rb_parent;
+               parent = rb_parent(n);
                fname = rb_entry(n, struct fname, rb_hash);
                while (fname) {
                        struct fname * old = fname;