mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
toollib: Avoid undefined ignore_vg parameter.
Fix process_each_segment_in_pv to always set ret before calling ignore_vg().
This commit is contained in:
parent
7c8abb29df
commit
4c1f281b43
@ -1,5 +1,6 @@
|
||||
Version 2.02.105 -
|
||||
=====================================
|
||||
Fix undef value if skipped clustered VG ignored for toollib PV seg. (2.02.103)
|
||||
liblvm/python API Add ability to validate VG/LV names.
|
||||
liblvm/python API Add ability to create PV with arguments.
|
||||
liblvm/python API Fail VG reduce when insufficient metadata copies
|
||||
|
@ -510,10 +510,10 @@ int process_each_segment_in_pv(struct cmd_context *cmd,
|
||||
vg_name = pv_vg_name(pv);
|
||||
|
||||
vg = vg_read(cmd, vg_name, NULL, 0);
|
||||
if (ignore_vg(vg, vg_name, 0, &ret)) {
|
||||
if (ignore_vg(vg, vg_name, 0, &ret_max)) {
|
||||
release_vg(vg);
|
||||
stack;
|
||||
return ret;
|
||||
return ret_max;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user