summaryrefslogtreecommitdiffstats
path: root/tools/vgmerge.c
diff options
context:
space:
mode:
authorDave Wysochanski <dwysocha@redhat.com>2009-09-02 21:27:39 +0000
committerDave Wysochanski <dwysocha@redhat.com>2009-09-02 21:27:39 +0000
commitae4ca998a320138f2816caf74bb8eaa5d4df3cbf (patch)
tree5009b1f67b77d3797dd493e831f00c0c971bf4f7 /tools/vgmerge.c
parenteb7c87e90d410c523d09ac597ecfa4123005db8c (diff)
downloadlvm2-ae4ca998a320138f2816caf74bb8eaa5d4df3cbf.tar.gz
lvm2-ae4ca998a320138f2816caf74bb8eaa5d4df3cbf.tar.xz
lvm2-ae4ca998a320138f2816caf74bb8eaa5d4df3cbf.zip
Change vgsplit behavior to open/lock first vg based on alphabetical ordering.
If the destination vgname comes before the source vgname, we must open the destination first because of the locking rules. Thus, do a strcmp and set the flag based on the comparison. Author: Dave Wysochanski <dwysocha@redhat.com>
Diffstat (limited to 'tools/vgmerge.c')
0 files changed, 0 insertions, 0 deletions