From 610325439349cb72cc0c738eff830bf308bf6cbf Mon Sep 17 00:00:00 2001 From: Dave Wysochanski Date: Thu, 21 Oct 2010 14:49:10 +0000 Subject: Refactor and add code for (lv) 'lv_name' get function. --- lib/report/properties.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/report') diff --git a/lib/report/properties.c b/lib/report/properties.c index ce1d2f7a..8228193f 100644 --- a/lib/report/properties.c +++ b/lib/report/properties.c @@ -99,7 +99,7 @@ GET_PV_NUM_PROPERTY_FN(pv_mda_used_count, pv_mda_used_count(pv)) /* LV */ GET_LV_STR_PROPERTY_FN(lv_uuid, lv_uuid_dup(lv)) #define _lv_uuid_set _not_implemented_set -#define _lv_name_get _not_implemented_get +GET_LV_STR_PROPERTY_FN(lv_name, lv_name_dup(lv->vg->vgmem, lv)) #define _lv_name_set _not_implemented_set GET_LV_STR_PROPERTY_FN(lv_path, lv_path_dup(lv->vg->vgmem, lv)) #define _lv_path_set _not_implemented_set -- cgit