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

debug: cleanup backtrace after log_error

This commit is contained in:
Zdenek Kabelac 2016-09-16 14:42:37 +02:00
parent a029123679
commit 72abf692e5

View File

@ -7156,7 +7156,7 @@ static struct logical_volume *_lv_create_an_lv(struct volume_group *vg,
if (!lp->extents && !seg_is_thin_volume(lp)) {
log_error(INTERNAL_ERROR "Unable to create new logical volume with no extents.");
return_NULL;
return NULL;
}
if ((seg_is_pool(lp) || seg_is_cache(lp)) &&