[lvm-devel] LVM2/tools lvcreate.c
agk at sourceware.org
agk at sourceware.org
Tue Sep 6 15:35:12 UTC 2011
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2011-09-06 15:35:11
Modified files:
tools : lvcreate.c
Log message:
only thin volumes need converting
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/lvcreate.c.diff?cvsroot=lvm2&r1=1.235&r2=1.236
--- LVM2/tools/lvcreate.c 2011/09/06 00:26:43 1.235
+++ LVM2/tools/lvcreate.c 2011/09/06 15:35:11 1.236
@@ -343,7 +343,7 @@
}
} else {
/* No virtual size given, so no thin LV to create. */
- if (!seg_is_thin_pool(lp) && !(lp->segtype = get_segtype_from_string(cmd, "thin_pool")))
+ if (seg_is_thin_volume(lp) && !(lp->segtype = get_segtype_from_string(cmd, "thin_pool")))
return_0;
lp->thin = 0;
More information about the lvm-devel
mailing list