mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +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)
|
||||
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
|
||||
log_debug_alloc("Eliminating allocation area %" PRIu32 " at PV %s start PE %" PRIu32
|
||||
" from consideration: PV tag %s already used.",
|
||||
|
Loading…
Reference in New Issue
Block a user