Skip to contentSkip to conversation

master - debug: drop extra tracing

PATCH Zdenek Kabelac 1 participant 1 message Dec 14, 2018

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=db6d9e04af7277a5e2883743e0a9a1502d97249f
Commit:        db6d9e04af7277a5e2883743e0a9a1502d97249f
Parent:        cc5cfb88d70ef7982e66e5ddf8a5fbd69d485fec
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Sat Dec 1 21:39:42 2018 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri Dec 14 15:14:48 2018 +0100

debug: drop extra tracing

Stack tracing after log_error() is not needed.

---
 device_mapper/libdm-deptree.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
device_mapper/libdm-deptree.c +1 -1
index c134489..7a7239e 100644
@@ -2742,7 +2742,7 @@ static int _vdo_emit_segment_line(struct dm_task *dmt,
 	/* Unlike normal targets, current VDO requires device path */
 	if (dm_snprintf(data_dev, sizeof(data_dev), "/dev/dm-%u", seg->vdo_data->info.minor) < 0) {
 		log_error("Can create VDO data volume path for %s.", data);
-		return_0;
+		return 0;
 	}
 
 	EMIT_PARAMS(pos, "%s %u %s " FMTu64 " " FMTu64 " %u on %s %s "