summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-self-heal-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-common.c')
-rw-r--r--xlators/cluster/afr/src/afr-self-heal-common.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-common.c b/xlators/cluster/afr/src/afr-self-heal-common.c
index 85fe8eea87d..ef36be14521 100644
--- a/xlators/cluster/afr/src/afr-self-heal-common.c
+++ b/xlators/cluster/afr/src/afr-self-heal-common.c
@@ -838,6 +838,12 @@ sh_destroy_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
local = frame->local;
+ if (op_ret == -1) {
+ gf_log (this->name, GF_LOG_DEBUG,
+ "setattr on %s failed: %s",
+ local->loc.path, strerror (op_errno));
+ }
+
call_count = afr_frame_return (frame);
if (call_count == 0) {