浏览代码

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

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
David Woodhouse 19 年之前
父节点
当前提交
52b5108ca7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fs/ext3/dir.c

+ 1 - 1
fs/ext3/dir.c

@@ -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;