mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-24 17:57:48 +03:00
All 'size' values of lvm2app properties should be in bytes.
Fix 'seg_size' to return bytes. Signed-off-by: Dave Wysochanski <wysochanski@pobox.com> Reviewed-by: Petr Rockai <prockai@redhat.com>
This commit is contained in:
parent
f2afa4f21d
commit
0bc382eae4
@ -230,7 +230,7 @@ GET_LVSEG_NUM_PROPERTY_FN(seg_start, lvseg_start(lvseg))
|
||||
#define _seg_start_set _not_implemented_set
|
||||
GET_LVSEG_NUM_PROPERTY_FN(seg_start_pe, lvseg->le)
|
||||
#define _seg_start_pe_set _not_implemented_set
|
||||
GET_LVSEG_NUM_PROPERTY_FN(seg_size, lvseg_size(lvseg))
|
||||
GET_LVSEG_NUM_PROPERTY_FN(seg_size, (SECTOR_SIZE * lvseg_size(lvseg)))
|
||||
#define _seg_size_set _not_implemented_set
|
||||
GET_LVSEG_STR_PROPERTY_FN(seg_tags, lvseg_tags_dup(lvseg))
|
||||
#define _seg_tags_set _not_implemented_set
|
||||
|
Loading…
x
Reference in New Issue
Block a user