diff options
Diffstat (limited to 'lib/format1/import-export.c')
-rw-r--r-- | lib/format1/import-export.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/format1/import-export.c b/lib/format1/import-export.c index 9318945e2..34ed2b11d 100644 --- a/lib/format1/import-export.c +++ b/lib/format1/import-export.c @@ -253,6 +253,9 @@ int import_vg(struct dm_pool *mem, if (vgd->vg_access & VG_CLUSTERED) vg->status |= CLUSTERED; + if (vgd->vg_access & VG_LOCK_TYPE) + vg->status |= LOCK_TYPE; + if (vgd->vg_access & VG_SHARED) vg->status |= SHARED; @@ -280,6 +283,9 @@ int export_vg(struct vg_disk *vgd, struct volume_group *vg) if (vg_is_clustered(vg)) vgd->vg_access |= VG_CLUSTERED; + if (vg->status & LOCK_TYPE) + vgd->vg_access |= VG_LOCK_TYPE; + if (vg->status & SHARED) vgd->vg_access |= VG_SHARED; |