summaryrefslogtreecommitdiff
path: root/liblvm/lvm_vg.c
diff options
context:
space:
mode:
authorTony Asleson <tasleson@redhat.com>2013-09-10 18:01:28 -0500
committerTony Asleson <tasleson@redhat.com>2013-11-19 14:40:34 -0600
commit04304ba7356c90568dcf32f0772a2023f4684656 (patch)
tree7718d88da28ccfa9d4d53e5056e60c19d1606088 /liblvm/lvm_vg.c
parentec7f632ce08014ca5ceb3ac6c92d834fb0b8c93e (diff)
downloadlvm2-04304ba7356c90568dcf32f0772a2023f4684656.tar.gz
lvm2app: Add ability to create PV with args
Add a PV create which takes a paramters object that has get/set method to configure PV creation. Current get/set operations include: - size - pvmetadatacopies - pvmetadatasize - data_alignment - data_alignment_offset - zero Reference: https://bugzilla.redhat.com/show_bug.cgi?id=880395 Signed-off-by: Tony Asleson <tasleson@redhat.com>
Diffstat (limited to 'liblvm/lvm_vg.c')
-rw-r--r--liblvm/lvm_vg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/liblvm/lvm_vg.c b/liblvm/lvm_vg.c
index 3f4968e9c..214f45954 100644
--- a/liblvm/lvm_vg.c
+++ b/liblvm/lvm_vg.c
@@ -340,7 +340,7 @@ const char *lvm_vg_get_name(const vg_t vg)
struct lvm_property_value lvm_vg_get_property(const vg_t vg, const char *name)
{
- return get_property(NULL, vg, NULL, NULL, NULL, NULL, name);
+ return get_property(NULL, vg, NULL, NULL, NULL, NULL, NULL, name);
}
int lvm_vg_set_property(const vg_t vg, const char *name,
@@ -357,7 +357,7 @@ int lvm_vg_set_property(const vg_t vg, const char *name,
strlen(value->value.string) + 1);
}
- return set_property(NULL, vg, NULL, NULL, name, value);
+ return set_property(NULL, vg, NULL, NULL, NULL, name, value);
}
struct dm_list *lvm_list_vg_names(lvm_t libh)