1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Remove part of FIXME

(and reindent a code below)
This commit is contained in:
Zdenek Kabelac 2012-03-04 16:05:42 +00:00
parent 1e6a29dbee
commit b3103ef328

View File

@ -1590,16 +1590,12 @@ static int _dm_tree_deactivate_children(struct dm_tree_node *dnode,
if (child->callback &&
!child->callback(child, DM_NODE_CALLBACK_DEACTIVATED,
child->callback_data)) {
r = 0;
// FIXME: break tree shutdown or continue?
// hmm what about _node_clear_table()?
}
child->callback_data))
r = 0; // FIXME: _node_clear_table() without callback ?
if (dm_tree_node_num_children(child, 0)) {
if (!_dm_tree_deactivate_children(child, uuid_prefix, uuid_prefix_len, level + 1))
return_0;
}
if (dm_tree_node_num_children(child, 0) &&
!_dm_tree_deactivate_children(child, uuid_prefix, uuid_prefix_len, level + 1))
return_0;
}
return r;