summaryrefslogtreecommitdiffstats
path: root/lib/format_pool
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2005-05-11 15:02:49 +0000
committerAlasdair Kergon <agk@redhat.com>2005-05-11 15:02:49 +0000
commit7f2def9e6dbaad36f40fc916d940834809106ce9 (patch)
tree37954b68d06b283e4a6f1de9f456ff11e798579d /lib/format_pool
parentc64ed88c34191b62dd8ae58c76111332c61cf235 (diff)
downloadlvm2-7f2def9e6dbaad36f40fc916d940834809106ce9.tar.gz
lvm2-7f2def9e6dbaad36f40fc916d940834809106ce9.tar.xz
lvm2-7f2def9e6dbaad36f40fc916d940834809106ce9.zip
Remove lists of free PV segments.
Simplify pv_maps code and remove slow bitset algorithm.
Diffstat (limited to 'lib/format_pool')
-rw-r--r--lib/format_pool/import_export.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/format_pool/import_export.c b/lib/format_pool/import_export.c
index 79e8279b..dd315266 100644
--- a/lib/format_pool/import_export.c
+++ b/lib/format_pool/import_export.c
@@ -184,7 +184,6 @@ int import_pool_pv(const struct format_type *fmt, struct pool *mem,
list_init(&pv->tags);
list_init(&pv->segments);
- list_init(&pv->free_segments);
if (!alloc_pv_segment_whole_pv(mem, pv)) {
stack;