1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

debug: fix error message

log_error is replaced with warn since the result
of function is not result in command error.
This commit is contained in:
Zdenek Kabelac 2016-04-17 14:44:13 +02:00
parent 9cccf5245a
commit f5cf6cc9ed

View File

@ -766,11 +766,11 @@ static const struct dm_info *_cached_dm_info(struct dm_pool *mem,
return_NULL;
if (!(dnode = dm_tree_find_node_by_uuid(dtree, dlid)))
goto_out;
goto out;
if (!(dinfo = dm_tree_node_get_info(dnode))) {
log_error("Failed to get info from tree node for %s.",
display_lvname(lv));
log_warn("WARNING: Cannot get info from tree node for %s.",
display_lvname(lv));
goto out;
}