Skip to contentSkip to conversation

LVM2 ./WHATS_NEW lib/metadata/lv_manip.c

PATCH [email protected] 1 participant 1 message Feb 9, 2012

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: prajnoha at sourceware.org 2012-02-09 15:13:43

Modified files:
. : WHATS_NEW
lib/metadata : lv_manip.c

Log message:
Stop processing lvextend if trying to extend a mirror that is being recovered.

Missing correct return value in lv_extend fn.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.2273&r2=1.2274
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/lv_manip.c.diff?cvsroot=lvm2&r1=1.358&r2=1.359

WHATS_NEW +1 -0
@@ -1,5 +1,6 @@
 Version 2.02.91 -
 ===================================
+  Stop processing lvextend if trying to extend a mirror that is being recovered.
   Add pool_below_threshold() function to check thin pool percent status.
   Fix test for snap percent for failing merge when removing LV.
   Switch int to void return for str_list_del().
lib/metadata/lv_manip.c +1 -0
@@ -2674,6 +2674,7 @@
 				log_error("%s/%s cannot be extended while"
 					  " it is recovering.",
 					  lv->vg->name, lv->name);
+				r = 0;
 				goto out;
 			}
 		}