[lvm-devel] LVM2/tools lvcreate.c
agk at sourceware.org
agk at sourceware.org
Mon Oct 16 16:47:56 UTC 2006
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2006-10-16 16:47:56
Modified files:
tools : lvcreate.c
Log message:
revert
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/lvcreate.c.diff?cvsroot=lvm2&r1=1.126&r2=1.127
--- LVM2/tools/lvcreate.c 2006/10/16 16:44:28 1.126
+++ LVM2/tools/lvcreate.c 2006/10/16 16:47:56 1.127
@@ -637,11 +637,11 @@
return 0;
}
- ////if (lp->mirrors > 1 && !activation()) {
- //log_error("Can't create mirror without using "
- //"device-mapper kernel driver.");
- //return 0;
- //}
+ if (lp->mirrors > 1 && !activation()) {
+ log_error("Can't create mirror without using "
+ "device-mapper kernel driver.");
+ return 0;
+ }
/* The snapshot segment gets created later */
if (lp->snapshot &&
More information about the lvm-devel
mailing list