mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
lvmetad: fix lost bootloader area information
The refactoring made by 732859d21f
caused this. The former "ea" was not renamed to "ba" and we used
incorrect tree node name to search for the value.
This commit is contained in:
parent
87e559f1ec
commit
10e10cfa4f
@ -1,5 +1,6 @@
|
||||
Version 2.02.106 -
|
||||
====================================
|
||||
Fix lost information about bootloader area when using lvmetad.
|
||||
Don't require --major to be specified when using -My option on kernels > 2.4.
|
||||
Add configure --disable-thin_check_needs_check to support old thin_check.
|
||||
Use thin_check --clear-needs-check-flag by default.
|
||||
|
2
lib/cache/lvmetad.c
vendored
2
lib/cache/lvmetad.c
vendored
@ -349,7 +349,7 @@ static struct lvmcache_info *_pv_populate_lvmcache(struct cmd_context *cmd,
|
||||
|
||||
i = 0;
|
||||
do {
|
||||
sprintf(da_id, "ea%d", i);
|
||||
sprintf(da_id, "ba%d", i);
|
||||
da = dm_config_find_node(cn->child, da_id);
|
||||
if (da) {
|
||||
if (!dm_config_get_uint64(da->child, "offset", &offset)) return_0;
|
||||
|
Loading…
Reference in New Issue
Block a user