From 97709450ca7547747cde9290cca8a1e0cfc8b30e Mon Sep 17 00:00:00 2001 From: Dave Wysochanski Date: Thu, 9 Sep 2010 19:38:03 +0000 Subject: [PATCH] Update vg_mda_free 'get' function to multiply by SECTOR_SIZE. --- lib/report/properties.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/report/properties.c b/lib/report/properties.c index b99f63090..9e3cad355 100644 --- a/lib/report/properties.c +++ b/lib/report/properties.c @@ -152,7 +152,7 @@ GET_NUM_PROPERTY_FN(vg_mda_count, (vg_mda_count(vg))) #define _vg_mda_count_set _not_implemented GET_NUM_PROPERTY_FN(vg_mda_used_count, (vg_mda_used_count(vg))) #define _vg_mda_used_count_set _not_implemented -GET_NUM_PROPERTY_FN(vg_mda_free, (vg_mda_free(vg))) +GET_NUM_PROPERTY_FN(vg_mda_free, (SECTOR_SIZE * vg_mda_free(vg))) #define _vg_mda_free_set _not_implemented GET_NUM_PROPERTY_FN(vg_mda_size, (SECTOR_SIZE * vg_mda_size(vg))) #define _vg_mda_size_set _not_implemented -- 2.43.5