From 72abf692e5b4f503ca9b52725df020342075c32f Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 16 Sep 2016 14:42:37 +0200 Subject: [PATCH] debug: cleanup backtrace after log_error --- lib/metadata/lv_manip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/metadata/lv_manip.c b/lib/metadata/lv_manip.c index e714f0beb..5adf81e0b 100644 --- a/lib/metadata/lv_manip.c +++ b/lib/metadata/lv_manip.c @@ -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)) &&