]> sourceware.org Git - lvm2.git/commitdiff
Update vg_mda_free 'get' function to multiply by SECTOR_SIZE.
authorDave Wysochanski <dwysocha@redhat.com>
Thu, 9 Sep 2010 19:38:03 +0000 (19:38 +0000)
committerDave Wysochanski <dwysocha@redhat.com>
Thu, 9 Sep 2010 19:38:03 +0000 (19:38 +0000)
lib/report/properties.c

index b99f63090485b1d973e2fb7dbe02e13e0d9b8b7e..9e3cad355f0c86c4118bdf35f2fb5a3a64375f33 100644 (file)
@@ -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
This page took 0.03548 seconds and 5 git commands to generate.