diff options
author | Tony Asleson <tasleson@redhat.com> | 2013-07-12 16:40:10 -0400 |
---|---|---|
committer | Tony Asleson <tasleson@redhat.com> | 2013-07-12 16:52:16 -0500 |
commit | 5227b65588cb45d27bb6841617970e73903c0b9f (patch) | |
tree | e30e5b0900fe32cdac4e0333981640ef2f138256 /liblvm/lvm_vg.c | |
parent | 9775a19af1f2a93d5550f4ff5843e3ac8e556eb1 (diff) | |
download | lvm2-5227b65588cb45d27bb6841617970e73903c0b9f.tar.gz |
lvm2app: Add thin and thin pool lv creation
Add thin and thin pool lv creation support to lvm library
This is Mohan's thinp patch, re-worked to include suggestions
from Zdenek and Mohan.
Rework of commit 4d5de8322b3a6050def60542b167b46d97b2824d
which uses refactored properties handling.
Based on work done by M. Mohan Kumar <mohan@in.ibm.com>
Signed-off-by: Tony Asleson <tasleson@redhat.com>
Diffstat (limited to 'liblvm/lvm_vg.c')
-rw-r--r-- | liblvm/lvm_vg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/liblvm/lvm_vg.c b/liblvm/lvm_vg.c index 35c7eea0d..c128ba7ac 100644 --- a/liblvm/lvm_vg.c +++ b/liblvm/lvm_vg.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008,2009 Red Hat, Inc. All rights reserved. + * Copyright (C) 2008-2013 Red Hat, Inc. All rights reserved. * * This file is part of LVM2. * @@ -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, name); + return get_property(NULL, vg, 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, name, value); + return set_property(NULL, vg, NULL, NULL, name, value); } struct dm_list *lvm_list_vg_names(lvm_t libh) |