mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
Fixes segfault when 'pvs' encounters two different PVs sharing the same uuid but one an orphan, the other in a VG. If VG_GLOBAL is held, there seems no point in doing a full scan more than once. If undesirable side-effects show up, we can try restricting this to VG_GLOBAL READ locks. The original code dates back to 2.02.40.