Version 2.02.38 -
=================================
+ Fix tracking of validity of PVs with no mdas in lvmcache.
Fix return values for reporting commands when run with no PVs, LVs, or VGs.
Add omitted unlock_vg() call when sigint_caught() during vg processing.
Fix wrong free_count on imported vg from pool device
vgid = vgname;
}
+ /* If PV without mdas is already in a real VG, don't make it orphan */
+ if (is_orphan_vg(vgname) && info->vginfo && !list_size(&info->mdas) &&
+ !is_orphan_vg(info->vginfo->vgname) && memlock())
+ return 1;
+
+ /* If moving PV from orphan to real VG, always mark it valid */
+ if (!is_orphan_vg(vgname))
+ info->status &= ~CACHE_INVALID;
+
if (!_lvmcache_update_vgname(info, vgname, vgid, vgstatus,
creation_host, info->fmt) ||
!_lvmcache_update_vgid(info, info->vginfo, vgid) ||