[lvm-devel] LVM2/tools lvcreate.c
agk at sourceware.org
agk at sourceware.org
Wed Jan 16 15:26:41 UTC 2008
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2008-01-16 15:26:40
Modified files:
tools : lvcreate.c
Log message:
revert temp change
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/lvcreate.c.diff?cvsroot=lvm2&r1=1.166&r2=1.167
--- LVM2/tools/lvcreate.c 2008/01/16 15:25:10 1.166
+++ LVM2/tools/lvcreate.c 2008/01/16 15:26:40 1.167
@@ -705,11 +705,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