rbtree_check_dir_ref_comp
return rbtree_check_dir_ref_comp(entry, parent) < 0;
if (rb_find(ref, root, rbtree_check_dir_ref_comp))