This is the mail archive of the lvm2-cvs@sourceware.org mailing list for the LVM2 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

LVM2 ./WHATS_NEW lib/metadata/lv_manip.c


CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	agk@sourceware.org	2006-10-05 21:24:48

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

Log message:
	Fix _for_each_pv() for mirror with core log.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.453&r2=1.454
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/lv_manip.c.diff?cvsroot=lvm2&r1=1.102&r2=1.103

--- LVM2/WHATS_NEW	2006/10/05 18:42:33	1.453
+++ LVM2/WHATS_NEW	2006/10/05 21:24:46	1.454
@@ -1,5 +1,6 @@
 Version 2.02.11 - 
 =====================================
+  Fix _for_each_pv() for mirror with core log.
   Add lvm_dump.sh script to create a tarball of debugging info from a system.
   Capture error messages in clvmd and pass them back to the user.
   Remove unused #defines from filter-md.c.
--- LVM2/lib/metadata/lv_manip.c	2006/09/11 21:14:56	1.102
+++ LVM2/lib/metadata/lv_manip.c	2006/10/05 21:24:48	1.103
@@ -1424,7 +1424,7 @@
 			   !fn(cmd, seg_pvseg(seg, s), data))
 			return_0;
 
-	if (seg_is_mirrored(seg) && 
+	if (seg_is_mirrored(seg) && seg->log_lv &&
 	    !_for_each_pv(cmd, seg->log_lv, 0, MIRROR_LOG_SIZE,
 			  NULL, fn, data))
 		return_0;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]