From d202d54a6c6937154571fba765fc1adc5ba68a3c Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Sat, 1 Dec 2018 21:39:42 +0100 Subject: [PATCH] debug: drop extra tracing Stack tracing after log_error() is not needed. (cherry picked from commit db6d9e04af7277a5e2883743e0a9a1502d97249f) --- device_mapper/libdm-deptree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device_mapper/libdm-deptree.c b/device_mapper/libdm-deptree.c index 77e2b4d50..d3a5c27b7 100644 --- a/device_mapper/libdm-deptree.c +++ b/device_mapper/libdm-deptree.c @@ -2644,7 +2644,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 "