]> sourceware.org Git - lvm2.git/commit
Fix use of orphan lock in commands
authorDavid Teigland <teigland@redhat.com>
Mon, 11 Jun 2018 20:08:23 +0000 (15:08 -0500)
committerDavid Teigland <teigland@redhat.com>
Tue, 12 Jun 2018 14:46:11 +0000 (09:46 -0500)
commit9a8c36b8917edf00ea875e727b0b775ca5a87a43
treef818f02fbc501d976bcb7782f12603c96d12af33
parentc4153a8dfca9defcea645818dcd547388858c51e
Fix use of orphan lock in commands

vgreduce, vgremove and vgcfgrestore were acquiring
the orphan lock in the midst of command processing
instead of at the start of the command.  (The orphan
lock moved to being acquired at the start of the
command back when pvcreate/vgcreate/vgextend were
reworked based on pvcreate_each_device.)

vgsplit also needed a small update to avoid reacquiring
a VG lock that it already held (for the new VG name).
lib/metadata/metadata-exported.h
lib/metadata/metadata.c
lib/metadata/vg.c
tools/vgcfgrestore.c
tools/vgreduce.c
tools/vgremove.c
tools/vgsplit.c
This page took 0.040275 seconds and 5 git commands to generate.