mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
o set PV_ALLOCATABLE flag correctly
This commit is contained in:
parent
68cb51e7dd
commit
383d1752fa
@ -157,7 +157,7 @@ int export_pv(struct pv_disk *pvd, struct physical_volume *pv)
|
||||
pvd->pv_status |= PV_ACTIVE;
|
||||
|
||||
if (pv->status & ALLOCATED_PV)
|
||||
pvd->pv_allocatable = ALLOCATED_PV;
|
||||
pvd->pv_allocatable = PV_ALLOCATABLE;
|
||||
|
||||
pvd->pv_size = pv->size;
|
||||
pvd->lv_cur = 0; /* this is set when exporting the lv list */
|
||||
|
Loading…
Reference in New Issue
Block a user