[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] LVM2 ./WHATS_NEW tools/toollib.c



CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	agk sourceware org	2009-05-27 13:23:42

Modified files:
	.              : WHATS_NEW 
	tools          : toollib.c 

Log message:
	Skip virtual origins in process_each_lv_in_vg(). (mbroz)

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1126&r2=1.1127
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/toollib.c.diff?cvsroot=lvm2&r1=1.153&r2=1.154

--- LVM2/WHATS_NEW	2009/05/27 13:19:34	1.1126
+++ LVM2/WHATS_NEW	2009/05/27 13:23:41	1.1127
@@ -1,5 +1,6 @@
 Version 2.02.48 - 
 ===============================
+  Skip virtual origins in process_each_lv_in_vg().
   Fix counting of virtual origin LVs in vg_validate.
   Attempt to load dm-zero module if zero target needed but not present.
 
--- LVM2/tools/toollib.c	2009/05/21 03:04:53	1.153
+++ LVM2/tools/toollib.c	2009/05/27 13:23:42	1.154
@@ -122,6 +122,9 @@
 		if (lvl->lv->status & SNAPSHOT)
 			continue;
 
+		if (lv_is_virtual_origin(lvl->lv))
+			continue;
+
 		/* Should we process this LV? */
 		if (process_all)
 			process_lv = 1;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]