/* update_pvid_to_vgid will clear/free the pvid_to_vgid hash */
if (update_pvids && meta_lookup)
- _update_pvid_to_vgid(s, meta_lookup, "#orphan", 0);
+ (void) _update_pvid_to_vgid(s, meta_lookup, "#orphan", 0);
/* free the unmapped data */
dev = dl->dev;
if (!(dev->flags & DEV_ASSUMED_FOR_LV)) {
if (!found_inconsistent) {
- dm_pool_begin_object(mem, 32);
+ if (!dm_pool_begin_object(mem, 32))
+ return_0;
found_inconsistent = 1;
} else {
if (!dm_pool_grow_object(mem, DEV_LIST_DELIM, sizeof(DEV_LIST_DELIM) - 1))
}
if (!(dev->flags & DEV_USED_FOR_LV)) {
if (!found_inconsistent) {
- dm_pool_begin_object(mem, 32);
+ if (!dm_pool_begin_object(mem, 32))
+ return_0;
found_inconsistent = 1;
} else {
if (!dm_pool_grow_object(mem, DEV_LIST_DELIM, sizeof(DEV_LIST_DELIM) - 1))