diff options
author | Dave Wysochanski <dwysocha@redhat.com> | 2010-10-21 14:49:10 +0000 |
---|---|---|
committer | Dave Wysochanski <dwysocha@redhat.com> | 2010-10-21 14:49:10 +0000 |
commit | 610325439349cb72cc0c738eff830bf308bf6cbf (patch) | |
tree | 53d967e39d4958be8b7ecdcc274b1bd40b83cf6a /lib/report | |
parent | 1d85ae71a0a63353ed209088a8ca78af566abe77 (diff) | |
download | lvm2-610325439349cb72cc0c738eff830bf308bf6cbf.tar.gz lvm2-610325439349cb72cc0c738eff830bf308bf6cbf.tar.xz lvm2-610325439349cb72cc0c738eff830bf308bf6cbf.zip |
Refactor and add code for (lv) 'lv_name' get function.
Diffstat (limited to 'lib/report')
-rw-r--r-- | lib/report/properties.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |