1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00

Update vg_mda_free 'get' function to multiply by SECTOR_SIZE.

This commit is contained in:
Dave Wysochanski 2010-09-09 19:38:03 +00:00
parent d20ce59b80
commit 97709450ca

View 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