mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Support 64bit ints in config
This commit is contained in:
parent
c054e7cc56
commit
9dd091e4f4
@ -1,5 +1,6 @@
|
||||
Version 2.02.85 -
|
||||
===================================
|
||||
Add function to read 64bit ints from config find_config_tree_int64.
|
||||
Fix to make resuming exclusive cluster mirror use local target type.
|
||||
|
||||
Version 2.02.84 - 9th February 2011
|
||||
|
@ -1049,6 +1049,12 @@ int find_config_tree_int(struct cmd_context *cmd, const char *path,
|
||||
return (int) _find_config_int64(cmd->cft_override ? cmd->cft_override->root : NULL, cmd->cft->root, path, (int64_t) fail);
|
||||
}
|
||||
|
||||
int64_t find_config_tree_int64(struct cmd_context *cmd, const char *path, int64_t fail)
|
||||
{
|
||||
return _find_config_int64(cmd->cft_override ? cmd->cft_override->root : NULL,
|
||||
cmd->cft->root, path, fail);
|
||||
}
|
||||
|
||||
float find_config_tree_float(struct cmd_context *cmd, const char *path,
|
||||
float fail)
|
||||
{
|
||||
|
@ -95,6 +95,8 @@ const char *find_config_tree_str(struct cmd_context *cmd,
|
||||
const char *path, const char *fail);
|
||||
int find_config_tree_int(struct cmd_context *cmd, const char *path,
|
||||
int fail);
|
||||
int64_t find_config_tree_int64(struct cmd_context *cmd, const char *path,
|
||||
int64_t fail);
|
||||
float find_config_tree_float(struct cmd_context *cmd, const char *path,
|
||||
float fail);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user