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:
parent
1e6a29dbee
commit
b3103ef328
@ -1590,17 +1590,13 @@ 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))
|
||||
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