From 4e57aae3a7861480aea2be9201bd07afa8d55d3a Mon Sep 17 00:00:00 2001 From: Dave Wysochanski Date: Sun, 26 Jul 2009 16:06:46 +0000 Subject: [PATCH] Rename lvm_vg_get_free to lvm_vg_get_free_size. Author: Dave Wysochanski --- liblvm/.exported_symbols | 2 +- liblvm/lvm.h | 2 +- liblvm/lvm_vg.c | 2 +- test/api/test.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/liblvm/.exported_symbols b/liblvm/.exported_symbols index 496e2b9b7..f40341e71 100644 --- a/liblvm/.exported_symbols +++ b/liblvm/.exported_symbols @@ -7,7 +7,7 @@ lvm_pv_get_mda_count lvm_vg_get_name lvm_vg_get_uuid lvm_vg_get_size -lvm_vg_get_free +lvm_vg_get_free_size lvm_vg_get_extent_size lvm_vg_get_extent_count lvm_vg_get_free_extent_count diff --git a/liblvm/lvm.h b/liblvm/lvm.h index 7d9069f70..caea9c07c 100644 --- a/liblvm/lvm.h +++ b/liblvm/lvm.h @@ -261,7 +261,7 @@ char *lvm_lv_get_name(const lv_t *lv); */ uint64_t lvm_pv_get_mda_count(const pv_t *pv); uint64_t lvm_vg_get_size(const vg_t *vg); -uint64_t lvm_vg_get_free(const vg_t *vg); +uint64_t lvm_vg_get_free_size(const vg_t *vg); uint64_t lvm_vg_get_extent_size(const vg_t *vg); uint64_t lvm_vg_get_extent_count(const vg_t *vg); uint64_t lvm_vg_get_free_extent_count(const vg_t *vg); diff --git a/liblvm/lvm_vg.c b/liblvm/lvm_vg.c index 96084c844..5307d7fe4 100644 --- a/liblvm/lvm_vg.c +++ b/liblvm/lvm_vg.c @@ -196,7 +196,7 @@ uint64_t lvm_vg_get_size(const vg_t *vg) return vg_size(vg); } -uint64_t lvm_vg_get_free(const vg_t *vg) +uint64_t lvm_vg_get_free_size(const vg_t *vg) { return vg_free(vg); } diff --git a/test/api/test.c b/test/api/test.c index b2a504a3a..f8e73ed8a 100644 --- a/test/api/test.c +++ b/test/api/test.c @@ -232,7 +232,7 @@ static void _show_one_vg(vg_t *vg) { printf("%s (%s): size=%"PRIu64", free=%"PRIu64", #pv=%"PRIu64"\n", lvm_vg_get_name(vg), lvm_vg_get_uuid(vg), - lvm_vg_get_size(vg), lvm_vg_get_free(vg), + lvm_vg_get_size(vg), lvm_vg_get_free_size(vg), lvm_vg_get_pv_count(vg)); }