LVM2 ./WHATS_NEW lib/activate/activate.c lib/a ...
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2007-03-08 21:08:25
Modified files:
. : WHATS_NEW lib/activate : activate.c activate.h tools : vgrename.c
Log message:
Fix vgrename active LV check to ignore differing vgids.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.579&r2=1.580
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/activate/activate.c.diff?cvsroot=lvm2&r1=1.120&r2=1.121
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/activate/activate.h.diff?cvsroot=lvm2&r1=1.54&r2=1.55
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/vgrename.c.diff?cvsroot=lvm2&r1=1.41&r2=1.42
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.23 - ==================================== + Fix vgrename active LV check to ignore differing vgids. Remove no-longer-used uuid_out parameter from activation info functions. Fix two more segfaults if an empty config file section encountered. Move .cache file into a new /etc/lvm/cache directory by default.
lib/activate/activate.c +31 -12
116 lines not on this page · raw message
lib/activate/activate.h +1 -0
@@ -83,6 +83,7 @@* Return number of LVs in the VG that are active. */ int lvs_in_vg_activated (struct volume_group *vg); +int lvs_in_vg_activated_by_uuid_only (struct volume_group *vg);int lvs_in_vg_opened (struct volume_group *vg);
tools/vgrename.c +1 -1
@@ -118,7 +118,7 @@return ECMD_FAILED ; } -if (lvs_in_vg_activated (vg_old)) { +if (lvs_in_vg_activated_by_uuid_only (vg_old)) {unlock_vg (cmd, vg_name_old);log_error ("Volume group \"%s\" still has active LVs" , vg_name_old);