]> sourceware.org Git - lvm2.git/commit
lvconvert: fixing extraction of vgname
authorZdenek Kabelac <zkabelac@redhat.com>
Tue, 24 Oct 2017 12:56:42 +0000 (14:56 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Tue, 24 Oct 2017 14:16:08 +0000 (16:16 +0200)
commitea63a38f5a883238bfdabdb3f4af5d08f4499424
tree2a73e338d0a5db5f4ee2b26ed7cdb5a6c668bae0
parentdcc8f90c587be5e60f45847d7c8ffc945e78d41c
lvconvert: fixing extraction of vgname

Correction to function for extracting vgname out of lvconvert
parameters.

Avoid repeating some checks.

Add code to handle generic options which may provide vgname in its argument
and compare them all so they match to a single vgname (otherwise it's a
error).

Extract default (envvar) vgname only when no position nor optional vgname is
found.

Fixing regression instroduce with patchset started with commit:
1e2420bca85da9a37570871cd70192e9ae831786   (2.02.169)
WHATS_NEW
tools/toollib.c
This page took 0.04181 seconds and 5 git commands to generate.