summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glusterfsd/src/glusterfsd-mgmt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/glusterfsd/src/glusterfsd-mgmt.c b/glusterfsd/src/glusterfsd-mgmt.c
index c1f85bf88a7..4339842768f 100644
--- a/glusterfsd/src/glusterfsd-mgmt.c
+++ b/glusterfsd/src/glusterfsd-mgmt.c
@@ -416,6 +416,8 @@ glusterfs_handle_translator_info_get(rpcsvc_request_t *req)
ret = glusterfs_volume_top_write_perf(
blk_size, blk_count, xlator_req.name, &throughput, &time);
}
+ if (ret)
+ goto cont;
ret = dict_set_double(dict, "time", time);
if (ret)
goto cont;