1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Fix lvm1 format metadata read.

This commit is contained in:
Alasdair Kergon 2005-06-22 15:31:29 +00:00
parent f1a8b66758
commit 4f8781051a
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
Version 2.01.13 -
================================
Fix lvm1 non-mirror lvcreate.
Fix lvm1 format metadata read.
Fix lvm1 format non-mirror lvcreate.
Version 2.01.12 - 14th June 2005
================================

View File

@ -241,7 +241,7 @@ int import_vg(struct pool *mem,
vg->extent_size = vgd->pe_size;
vg->extent_count = vgd->pe_total;
vg->free_count = vgd->pe_total - vgd->pe_allocated;
vg->free_count = vgd->pe_total;
vg->max_lv = vgd->lv_max;
vg->max_pv = vgd->pv_max;
vg->alloc = ALLOC_NORMAL;