mirror of
git://sourceware.org/git/lvm2.git
synced 2025-09-07 09:44:20 +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:
@@ -1,5 +1,6 @@
|
|||||||
Version 2.02.105 -
|
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 validate VG/LV names.
|
||||||
liblvm/python API Add ability to create PV with arguments.
|
liblvm/python API Add ability to create PV with arguments.
|
||||||
liblvm/python API Fail VG reduce when insufficient metadata copies
|
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_name = pv_vg_name(pv);
|
||||||
|
|
||||||
vg = vg_read(cmd, vg_name, NULL, 0);
|
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);
|
release_vg(vg);
|
||||||
stack;
|
stack;
|
||||||
return ret;
|
return ret_max;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user