summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
Diffstat (limited to 'xlators')
-rw-r--r--xlators/cluster/afr/src/afr-self-heald.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heald.c b/xlators/cluster/afr/src/afr-self-heald.c
index 8b4d2dc9cd1..b067c1bf1b5 100644
--- a/xlators/cluster/afr/src/afr-self-heald.c
+++ b/xlators/cluster/afr/src/afr-self-heald.c
@@ -1483,6 +1483,11 @@ afr_xl_op(xlator_t *this, dict_t *input, dict_t *output)
if (ret == 0) {
ret = dict_set_uint64(output, key, cnt);
}
+ if (ret) {
+ gf_msg(this->name, GF_LOG_ERROR, -ret,
+ AFR_MSG_DICT_SET_FAILED,
+ "Could not add cnt to output");
+ }
op_ret = 0;
}
}