Skip to contentSkip to conversation

master - debug: cleanup backtrace after log_error

PATCH Zdenek Kabelac 1 participant 1 message Sep 19, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=72abf692e5b4f503ca9b52725df020342075c32f
Commit:        72abf692e5b4f503ca9b52725df020342075c32f
Parent:        a029123679e183d410189dd90e17d6f5b590a35b
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri Sep 16 14:42:37 2016 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Sep 19 14:00:56 2016 +0200

debug: cleanup backtrace after log_error

---
 lib/metadata/lv_manip.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/metadata/lv_manip.c +1 -1
index e714f0b..5adf81e 100644
@@ -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)) &&