1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

lvm2api: add defined lvm_percent_to_float

Implement function which was somehow missing from it's original
placement in the header file lvm2api.h.
This commit is contained in:
Zdenek Kabelac 2012-10-11 17:25:14 +02:00
parent 316ce655a3
commit 0a46160d94
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.98 -
=================================
Add implementation of lvm2api function lvm_percent_to_float.
Allow non power of 2 thin chunk sizes if thin pool driver supports that.
Allow limited metadata changes when PVs are missing via [vg|lv]change.
Do not start dmeventd for lvchange --resync when monitoring is off.

View File

@ -126,3 +126,8 @@ const char *lvm_vgname_from_device(lvm_t libh, const char *device)
struct cmd_context *cmd = (struct cmd_context *)libh;
return find_vgname_from_pvname(cmd, device);
}
float lvm_percent_to_float(percent_t v)
{
return percent_to_float(v);
}