diff options
author | Petr Rockai <prockai@redhat.com> | 2011-07-18 13:26:08 +0000 |
---|---|---|
committer | Petr Rockai <prockai@redhat.com> | 2011-07-18 13:26:08 +0000 |
commit | 2710477debeb6707d088f114299a22854eed00ab (patch) | |
tree | b181bc196249aecf8ec7c6bfbfeeb60ccae1269b /lib/unknown | |
parent | 9c1f6bc985a8d09a2f8039c94ec722a4a3b649c0 (diff) | |
download | lvm2-2710477debeb6707d088f114299a22854eed00ab.tar.gz |
Slightly refactor the config code to allow better reuse (no functional change).
Diffstat (limited to 'lib/unknown')
-rw-r--r-- | lib/unknown/unknown.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unknown/unknown.c b/lib/unknown/unknown.c index 2fbd11c1d..105da98b9 100644 --- a/lib/unknown/unknown.c +++ b/lib/unknown/unknown.c @@ -42,7 +42,7 @@ static int _unknown_text_import(struct lv_segment *seg, const struct config_node if (!strcmp(current->key, "type") || !strcmp(current->key, "start_extent") || !strcmp(current->key, "tags") || !strcmp(current->key, "extent_count")) continue; - new = clone_config_node(seg->lv->vg->vgmem, current, 0); + new = clone_config_node_with_mem(seg->lv->vg->vgmem, current, 0); if (!new) return_0; if (last) |