summaryrefslogtreecommitdiff
path: root/liblvm
diff options
context:
space:
mode:
authorJonathan Brassow <jbrassow@redhat.com>2014-01-22 10:30:55 -0600
committerJonathan Brassow <jbrassow@redhat.com>2014-01-22 10:30:55 -0600
commit998af1a4fbf82cb9d5a2ba0c3c547ede39466a28 (patch)
treef3be18f9a10ce61516d65163ee4552264d59ec36 /liblvm
parent5590448c320eb76789110546cdea47dd1d7a97b3 (diff)
downloadlvm2-998af1a4fbf82cb9d5a2ba0c3c547ede39466a28.tar.gz
Misc: Change name of lvcreate_params field - s/create_thin_pool/create_pool/
In preparation for other segment types that create and use "pools", we s/create_thin_pool/create_pool/. This way it is not awkward when creating a cachepool, for example, to use "create_thin_pool".
Diffstat (limited to 'liblvm')
-rw-r--r--liblvm/lvm_lv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/liblvm/lvm_lv.c b/liblvm/lvm_lv.c
index 3b0e18d75..9f3a9c6cd 100644
--- a/liblvm/lvm_lv.c
+++ b/liblvm/lvm_lv.c
@@ -507,7 +507,7 @@ static int _lv_set_pool_params(struct lvcreate_params *lp,
lp->pool = pool;
- lp->create_thin_pool = 1;
+ lp->create_pool = 1;
lp->segtype = get_segtype_from_string(vg->cmd, "thin-pool");
lp->stripes = 1;