mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-12 08:13:48 +03:00
properties: fix data_usage typo
Patch 4de6f58085
introduce typo,
we need to use data_usage.
Note: this code was used by lvmapp library and currently is unused.
This commit is contained in:
parent
d2bdad28d1
commit
58976ccc34
@ -168,7 +168,7 @@ static dm_percent_t _data_percent(const struct logical_volume *lv)
|
||||
if (!lv_thin_pool_status(lv, 0, &thin_pool_status))
|
||||
stack;
|
||||
else {
|
||||
percent = thin_pool_status->metadata_usage;
|
||||
percent = thin_pool_status->data_usage;
|
||||
dm_pool_destroy(thin_pool_status->mem);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user