mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
coverity: missing error path
This commit is contained in:
parent
b2d819eafa
commit
8173c2ff9a
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.145 -
|
Version 2.02.145 -
|
||||||
=====================================
|
=====================================
|
||||||
|
Fix error path when pvcreate allocation fails (2.02.144).
|
||||||
Display [unknown] instead of blank for unknown VG names in pvs output.
|
Display [unknown] instead of blank for unknown VG names in pvs output.
|
||||||
|
|
||||||
Version 2.02.144 - 26th February 2016
|
Version 2.02.144 - 26th February 2016
|
||||||
|
@ -4406,6 +4406,7 @@ do_command:
|
|||||||
if (!(pvl = dm_pool_alloc(cmd->mem, sizeof(*pvl)))) {
|
if (!(pvl = dm_pool_alloc(cmd->mem, sizeof(*pvl)))) {
|
||||||
log_error("alloc pvl failed");
|
log_error("alloc pvl failed");
|
||||||
dm_list_move(&pp->arg_fail, &pd->list);
|
dm_list_move(&pp->arg_fail, &pd->list);
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
pv_name = pd->name;
|
pv_name = pd->name;
|
||||||
|
Loading…
Reference in New Issue
Block a user