[lvm-devel] LVM2/tools pvchange.c

wysochanski at sourceware.org wysochanski at sourceware.org
Wed May 19 15:34:11 UTC 2010


CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	wysochanski at sourceware.org	2010-05-19 15:34:10

Modified files:
	tools          : pvchange.c 

Log message:
	Remove another pvchange hack involving orphan VG names.
	
	Unnecessary as a result of recent changes.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/pvchange.c.diff?cvsroot=lvm2&r1=1.75&r2=1.76

--- LVM2/tools/pvchange.c	2010/05/19 13:21:09	1.75
+++ LVM2/tools/pvchange.c	2010/05/19 15:34:10	1.76
@@ -229,9 +229,6 @@
 			total++;
 			done += _pvchange_single(cmd, vg,
 						 pvl->pv, NULL);
-			/* FIXME: we should be using #orphans_lvm2 everwhere */
-			if (is_orphan_vg(vg->name))
-				vg_name = VG_ORPHANS;
 			unlock_and_release_vg(cmd, vg, vg_name);
 		}
 	} else {




More information about the lvm-devel mailing list