Skip to content

Commit

Permalink
[RBTREE] Update ext3 to use rb_parent() accessor macro.
Browse files Browse the repository at this point in the history
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
David Woodhouse committed Apr 21, 2006
1 parent 3db3a44 commit 52b5108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ext3/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 52b5108

Please sign in to comment.