]> sourceware.org Git - lvm2.git/commit
pv: use pv->fmt to check for fake PVs, not pv->vg
authorPeter Rajnoha <prajnoha@redhat.com>
Mon, 15 Feb 2016 14:50:11 +0000 (15:50 +0100)
committerPeter Rajnoha <prajnoha@redhat.com>
Mon, 15 Feb 2016 14:52:13 +0000 (15:52 +0100)
commit45be3c875f4605f4f950e8abfa12cf422526f5db
tree4d8d293f8c236db25aa56238e6d6c6a762222bbf
parent099d99975c25ba4f4c0593b778c95e7e185fd527
pv: use pv->fmt to check for fake PVs, not pv->vg

pv->vg is not set yet during pvcreate processing. Use pv->fmt instead to
check for these fake PVs (all normal PVs have format defined, devices
which are not PVs don't have this set).

This fixes commit 0000db7f98a07aa31c5b1cf13938b612e7f2821b.
lib/metadata/pv.c
This page took 1.506916 seconds and 5 git commands to generate.