mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
only thin volumes need converting
This commit is contained in:
parent
9ac61d2ba2
commit
e866a22916
@ -343,7 +343,7 @@ static int _read_size_params(struct lvcreate_params *lp,
|
||||
}
|
||||
} 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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user