summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/format_text/import.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/format_text/import.c b/lib/format_text/import.c
index de8795b9..6066ae05 100644
--- a/lib/format_text/import.c
+++ b/lib/format_text/import.c
@@ -128,6 +128,7 @@ static int _read_pv(struct pool *mem,
vg->extent_count += pv->pe_count;
vg->free_count += pv->pe_count;
+ pv->pe_size = vg->extent_size;
pv->size = pv->pe_size * (uint64_t) pv->pe_count;
pv->pe_allocated = 0;