[RBTREE] Update ext3 to use rb_parent() accessor macro.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
David Woodhouse 2006-04-21 13:15:57 +01:00
parent 3db3a44530
commit 52b5108ca7

View 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 * beginning of the loop and try to free the parent
* node. * node.
*/ */
parent = n->rb_parent; parent = rb_parent(n);
fname = rb_entry(n, struct fname, rb_hash); fname = rb_entry(n, struct fname, rb_hash);
while (fname) { while (fname) {
struct fname * old = fname; struct fname * old = fname;