Skip to content

Commit 52b5108

Browse files
committed
[RBTREE] Update ext3 to use rb_parent() accessor macro.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
1 parent 3db3a44 commit 52b5108

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/ext3/dir.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ static void free_rb_tree_fname(struct rb_root *root)
284284
* beginning of the loop and try to free the parent
285285
* node.
286286
*/
287-
parent = n->rb_parent;
287+
parent = rb_parent(n);
288288
fname = rb_entry(n, struct fname, rb_hash);
289289
while (fname) {
290290
struct fname * old = fname;

0 commit comments

Comments
 (0)