mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
cleanup: update commented-out code part
Just make it in-sync with latest proposal.
This commit is contained in:
parent
9ba7783350
commit
55d90b6420
@ -1685,11 +1685,11 @@ static int _add_lv_to_dtree(struct dev_manager *dm, struct dm_tree *dtree,
|
|||||||
return_0;
|
return_0;
|
||||||
#if 0
|
#if 0
|
||||||
/* ? Use origin_only to avoid 'deep' thin pool suspend ? */
|
/* ? Use origin_only to avoid 'deep' thin pool suspend ? */
|
||||||
/* FIXME Implement dm_tree_node_skip_children optimisation */
|
/* FIXME Implement dm_tree_node_skip_childrens optimisation */
|
||||||
if (!(uuid = build_dm_uuid(dm->mem, lv->lvid.s, lv_lauer(lv))))
|
if (!(uuid = build_dm_uuid(dm->mem, lv->lvid.s, lv_layer(lv))))
|
||||||
return_0;
|
return_0;
|
||||||
if ((thin_node = dm_tree_find_node_by_uuid(dtree, uuid)))
|
if ((thin_node = dm_tree_find_node_by_uuid(dtree, uuid)))
|
||||||
dm_tree_node_skip_children(thin_node, 1);
|
dm_tree_node_skip_childrens(thin_node, 1);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user