mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
cleanup: missing check for PV2
Patch missed also check this pointer dereference.
This commit is contained in:
parent
e0828e885b
commit
70af08122e
@ -2143,7 +2143,7 @@ static int _match_pv_tags(const struct dm_config_node *cling_tag_list_cn,
|
|||||||
}
|
}
|
||||||
if (!pv_tags)
|
if (!pv_tags)
|
||||||
log_debug_alloc("Matched allocation PV tag %s on existing %s with free space on %s.",
|
log_debug_alloc("Matched allocation PV tag %s on existing %s with free space on %s.",
|
||||||
str, pv_dev_name(pv1), pv_dev_name(pv2));
|
str, pv_dev_name(pv1), pv2 ? pv_dev_name(pv2) : "-");
|
||||||
else
|
else
|
||||||
log_debug_alloc("Eliminating allocation area %" PRIu32 " at PV %s start PE %" PRIu32
|
log_debug_alloc("Eliminating allocation area %" PRIu32 " at PV %s start PE %" PRIu32
|
||||||
" from consideration: PV tag %s already used.",
|
" from consideration: PV tag %s already used.",
|
||||||
|
Loading…
Reference in New Issue
Block a user