mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Fix metadata corruption writing lvm1-formatted metadata with snapshots.
This commit is contained in:
parent
14004cf20c
commit
a93ae114b8
@ -1,5 +1,6 @@
|
||||
Version 2.02.36 -
|
||||
=================================
|
||||
Fix metadata corruption writing lvm1-formatted metadata with snapshots.
|
||||
Add --prefixes to reporting tools for field name prefix output format.
|
||||
Fix lvconvert -m0 allocatable space check.
|
||||
|
||||
|
@ -284,7 +284,7 @@ int export_vg(struct vg_disk *vgd, struct volume_group *vg)
|
||||
vgd->vg_status |= VG_EXTENDABLE;
|
||||
|
||||
vgd->lv_max = vg->max_lv;
|
||||
vgd->lv_cur = vg->lv_count;
|
||||
vgd->lv_cur = vg->lv_count + vg->snapshot_count;
|
||||
|
||||
vgd->pv_max = vg->max_pv;
|
||||
vgd->pv_cur = vg->pv_count;
|
||||
|
Loading…
Reference in New Issue
Block a user