mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
o if contained &= instad of &
This commit is contained in:
parent
e8220912e9
commit
1eabbe1ad7
@ -222,9 +222,8 @@ int export_vg(struct vg_disk *vgd, struct volume_group *vg)
|
||||
{
|
||||
memset(vgd, 0, sizeof(*vgd));
|
||||
memcpy(vgd->vg_uuid, vg->id.uuid, ID_LEN);
|
||||
//vgd->vg_number = ??;
|
||||
|
||||
if (vg->status &= LVM_READ)
|
||||
if (vg->status & LVM_READ)
|
||||
vgd->vg_access |= VG_READ;
|
||||
|
||||
if (vg->status & LVM_WRITE)
|
||||
|
Loading…
Reference in New Issue
Block a user