summaryrefslogtreecommitdiffstats
path: root/liblvm/lvm_pv.c
diff options
context:
space:
mode:
authorPetr Rockai <prockai@redhat.com>2010-11-17 20:09:42 +0000
committerPetr Rockai <prockai@redhat.com>2010-11-17 20:09:42 +0000
commit5de70620efe93ad03ec3cb046cc5f26efc9baf92 (patch)
tree3a473588f712513947fe30bae51eec09fa245ddc /liblvm/lvm_pv.c
parentc1abd569f20d59d00f515f2d85aae0839828f6ad (diff)
downloadlvm2-5de70620efe93ad03ec3cb046cc5f26efc9baf92.tar.gz
lvm2-5de70620efe93ad03ec3cb046cc5f26efc9baf92.tar.xz
lvm2-5de70620efe93ad03ec3cb046cc5f26efc9baf92.zip
Add lvm2app function to query lvseg properties.
Signed-off-by: Dave Wysochanski <wysochanski@pobox.com> Reviewed-by: Petr Rockai <prockai@redhat.com>
Diffstat (limited to 'liblvm/lvm_pv.c')
-rw-r--r--liblvm/lvm_pv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/liblvm/lvm_pv.c b/liblvm/lvm_pv.c
index efdccb5e..6705dd81 100644
--- a/liblvm/lvm_pv.c
+++ b/liblvm/lvm_pv.c
@@ -51,7 +51,7 @@ uint64_t lvm_pv_get_free(const pv_t pv)
struct lvm_property_value lvm_pv_get_property(const pv_t pv, const char *name)
{
- return get_property(pv, NULL, NULL, name);
+ return get_property(pv, NULL, NULL, NULL, name);
}
int lvm_pv_resize(const pv_t pv, uint64_t new_size)