1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Fix vgreduce PV list processing not to process every PV in the VG.

This commit is contained in:
Alasdair Kergon 2008-01-03 19:03:32 +00:00
parent 76690e3aea
commit 8a77dd46ca
2 changed files with 2 additions and 8 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.30 -
===================================
Fix vgreduce PV list processing not to process every PV in the VG. (2.02.29)
Extend lvconvert to use polldaemon.
Add support for stacked mirrors.
Major restructuring of pvmove and lvconvert layer manipulation code.

View File

@ -746,14 +746,7 @@ int process_each_pv(struct cmd_context *cmd, int argc, char **argv,
if (sigint_caught())
return ret_max;
}
if (vg) {
ret = process_each_pv_in_vg(cmd, vg, &tags,
handle, process_single);
if (ret > ret_max)
ret_max = ret;
if (sigint_caught())
return ret_max;
} else if (!list_empty(&tags) && (vgnames = get_vgs(cmd, 0)) &&
if (!list_empty(&tags) && (vgnames = get_vgs(cmd, 0)) &&
!list_empty(vgnames)) {
list_iterate_items(sll, vgnames) {
if (!lock_vol(cmd, sll->str, lock_type)) {