mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
thin: update recent patchset
Parse pool params only for creation of thin pools.
This commit is contained in:
parent
c907ee0351
commit
999952c5b9
@ -785,8 +785,9 @@ static int _lvcreate_params(struct lvcreate_params *lp,
|
||||
if (!_lvcreate_name_params(lp, cmd, &argc, &argv) ||
|
||||
!_read_size_params(lp, lcp, cmd) ||
|
||||
!get_stripe_params(cmd, &lp->stripes, &lp->stripe_size) ||
|
||||
!get_pool_params(cmd, &lp->chunk_size, &lp->discards,
|
||||
&lp->poolmetadatasize, &lp->zero) ||
|
||||
(lp->create_thin_pool &&
|
||||
!get_pool_params(cmd, &lp->chunk_size, &lp->discards,
|
||||
&lp->poolmetadatasize, &lp->zero)) ||
|
||||
!_read_mirror_params(lp, cmd) ||
|
||||
!_read_raid_params(lp, cmd))
|
||||
return_0;
|
||||
|
Loading…
Reference in New Issue
Block a user