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

[lvm-devel] LVM2/tools lvcreate.c



CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	prajnoha sourceware org	2009-04-26 08:12:12

Modified files:
	tools          : lvcreate.c 

Log message:
	Fix wrong arg in lv_is_virtual_origin call while creating snapshots.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/lvcreate.c.diff?cvsroot=lvm2&r1=1.183&r2=1.184

--- LVM2/tools/lvcreate.c	2009/04/25 01:18:00	1.183
+++ LVM2/tools/lvcreate.c	2009/04/26 08:12:12	1.184
@@ -725,7 +725,7 @@
 					  lp->origin);
 				return 0;
 			}
-			if (lv_is_virtual_origin(lv)) {
+			if (lv_is_virtual_origin(org)) {
 				log_error("Can't share virtual origins. "
 					  "Use --virtualoriginsize.");
 				return 0;


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