*/
int dm_tree_preload_children(struct dm_tree_node *dnode,
const char *uuid_prefix,
- size_t uuid_prefix_len,
- int resume_children);
+ size_t uuid_prefix_len);
/*
* Resume a device plus all dependencies.
int dm_tree_preload_children(struct dm_tree_node *dnode,
const char *uuid_prefix,
- size_t uuid_prefix_len,
- int resume_children)
+ size_t uuid_prefix_len)
{
void *handle = NULL;
struct dm_tree_node *child;
continue;
if (dm_tree_node_num_children(child, 0))
- dm_tree_preload_children(child, uuid_prefix, uuid_prefix_len, resume_children);
+ dm_tree_preload_children(child, uuid_prefix, uuid_prefix_len);
if (!(name = dm_tree_node_get_name(child))) {
stack;
}
}
- /* Don't load tables yet if this flag is set */
- if (!resume_children)
- continue;
-
if (!child->info.inactive_table && child->props.segment_count) {
if (!_load_node(child)) {
stack;