LVM2/tools lvcreate.c
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
tools/lvcreate.c +1 -1
@@ -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 ;