LVM2 ./WHATS_NEW lib/metadata/lv_manip.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2010-01-12 20:53:20
Modified files:
. : WHATS_NEW
lib/metadata : lv_manip.c
Log message:
Fix allocation code not to stop at the first area of a PV that fits.
This spurious 'break' has been here since this code was first committed in June 2005 and stopped the algorithm behaving as described in the comment above it and rendered the variable 'already_found_one' useless.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1382&r2=1.1383
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/lv_manip.c.diff?cvsroot=lvm2&r1=1.196&r2=1.197
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.58 - =================================== + Fix allocation code not to stop at the first area of a PV that fits. Version 2.02.57 - 12th January 2010 ===================================
lib/metadata/lv_manip.c +0 -2
@@ -1114,8 +1114,6 @@ } areas[ix + ix_offset -1 ] = pva; - - goto next_pv; } next_pv:if (ix >= areas_size)