1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-11 20:58:50 +03:00

libdm: restore missing symbols

Restore missing symbols to the libdevmapper.so library.

These symbols:

dm_bitset_parse_list@@DM_1_02_138
and dm_tree_node_size_changed@Base

become 'lost' with commit: 40b277ae1799fc7a2e3f38b0abebd81a8e3d1995
which supposedly cleaned local 'symbols' from visibility,
however these missing symbols were impproperly exported.

Signed-off-by: Jianqi Zeng <zengjianqi@kylinos.cn>
This commit is contained in:
Jianqi Zeng 2025-02-19 14:49:33 +08:00 committed by Zdenek Kabelac
parent 6ad474385b
commit 36be0778f8
3 changed files with 5 additions and 3 deletions

View File

@ -267,6 +267,7 @@ dm_tree_node_set_thin_external_origin
dm_tree_node_set_thin_pool_discard
dm_tree_node_set_thin_pool_error_if_no_space
dm_tree_node_set_udev_flags
dm_tree_node_size_changed
dm_tree_preload_children
dm_tree_retry_remove
dm_tree_set_cookie

View File

@ -145,8 +145,8 @@ int dm_bit_get_last(dm_bitset_t bs)
/*
* Based on the Linux kernel __bitmap_parselist from lib/bitmap.c
*/
dm_bitset_t dm_bitset_parse_list(const char *str, struct dm_pool *mem,
size_t min_num_bits)
DM_EXPORT_NEW_SYMBOL(dm_bitset_t, dm_bitset_parse_list, 1_02_138)
(const char *str, struct dm_pool *mem, size_t min_num_bits)
{
unsigned a, b;
int c, old_c, totaldigits, ndigits;

View File

@ -659,7 +659,8 @@ void *dm_tree_node_get_context(const struct dm_tree_node *node)
return node->context;
}
int dm_tree_node_size_changed(const struct dm_tree_node *dnode)
DM_EXPORT_NEW_SYMBOL(int, dm_tree_node_size_changed, 1_02_110)
(const struct dm_tree_node *dnode)
{
return dnode->props.size_changed;
}