mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-10 05:18:36 +03:00
Remove part of FIXME
(and reindent a code below)
This commit is contained in:
parent
bebbb5aff9
commit
24cbb72291
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user