rbtree: Introduce list find callback
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
@@ -77,7 +77,7 @@ void prepare(struct ocf_rb_tree *tree)
|
||||
{
|
||||
int i;
|
||||
|
||||
ocf_rb_tree_init(tree, test_cmp);
|
||||
ocf_rb_tree_init(tree, test_cmp, NULL);
|
||||
|
||||
for (i = 0; i < nodes_number; i++)
|
||||
ocf_rb_tree_insert(tree, &nodes[i].tree);
|
||||
|
Reference in New Issue
Block a user