]> err.no Git - linux-2.6/commitdiff
[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 f37528ed222e82ed419762b9839ca6546eab85f5..fbb0d4ed07d4322e947f081f1af4dd6fd025ce33 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;