summaryrefslogtreecommitdiffstats
path: root/tools/lvresize.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2011-09-06 00:26:42 +0000
committerAlasdair Kergon <agk@redhat.com>2011-09-06 00:26:42 +0000
commit9ac61d2ba22013a96962f170c19c363d861f3092 (patch)
treeb0943318e379c58d440d1123f32b3b2984effddd /tools/lvresize.c
parent58366c058e9268842e498ea26f821b4404c25bc9 (diff)
downloadlvm2-9ac61d2ba22013a96962f170c19c363d861f3092.tar.gz
lvm2-9ac61d2ba22013a96962f170c19c363d861f3092.tar.xz
lvm2-9ac61d2ba22013a96962f170c19c363d861f3092.zip
lvcreate parsing for thin provisioning.
The rest is incomplete so this isn't usable yet.
Diffstat (limited to 'tools/lvresize.c')
-rw-r--r--tools/lvresize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lvresize.c b/tools/lvresize.c
index 6fbc1159..7723fca2 100644
--- a/tools/lvresize.c
+++ b/tools/lvresize.c
@@ -707,7 +707,7 @@ static int _lvresize(struct cmd_context *cmd, struct volume_group *vg,
!lv_extend(lv, lp->segtype,
lp->stripes, lp->stripe_size,
lp->mirrors, first_seg(lv)->region_size,
- lp->extents - lv->le_count,
+ lp->extents - lv->le_count, NULL,
pvh, alloc)) {
stack;
return ECMD_FAILED;