]> sourceware.org Git - lvm2.git/commit
pvchange, pvresize: move exported VG check
authorDavid Teigland <teigland@redhat.com>
Thu, 10 Mar 2016 19:28:47 +0000 (13:28 -0600)
committerDavid Teigland <teigland@redhat.com>
Thu, 10 Mar 2016 19:37:42 +0000 (13:37 -0600)
commit0f10823ec910c0a6015b20580f5aa26f209cea04
tree0a0efd339c235ae85c29ccea936f2341e517debd
parent9f4451193b8db4bd9c894248f50da9319704293e
pvchange, pvresize: move exported VG check

Allow pvchange and pvresize to process exported VGs,
and have them check for the exported state in their
single function.

Previously, the exported VG state would trigger a
failure in vg_read()/ignore_vg() because the VGs are
being read with READ_FOR_UPDATE.  Because these commands
read all VGs to search for the intended PVs, any
exported VG would trigger a failure, even if it was
not related to the intended PV.
tools/pvchange.c
tools/pvresize.c
This page took 0.039636 seconds and 5 git commands to generate.