summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libglusterfs/src/syncop-utils.c2
-rw-r--r--xlators/cluster/afr/src/afr-self-heald.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/libglusterfs/src/syncop-utils.c b/libglusterfs/src/syncop-utils.c
index 8f25db237f5..029f10b058e 100644
--- a/libglusterfs/src/syncop-utils.c
+++ b/libglusterfs/src/syncop-utils.c
@@ -542,7 +542,7 @@ syncop_is_subvol_local (xlator_t *this, loc_t *loc, gf_boolean_t *is_local)
ret = glusterfs_is_local_pathinfo (pathinfo, is_local);
gf_msg_debug (this->name, 0, "subvol %s is %slocal",
- this->name, is_local ? "" : "not ");
+ this->name, *is_local ? "" : "not ");
out:
if (xattr)
diff --git a/xlators/cluster/afr/src/afr-self-heald.c b/xlators/cluster/afr/src/afr-self-heald.c
index 7ccac919769..8a3a5521409 100644
--- a/xlators/cluster/afr/src/afr-self-heald.c
+++ b/xlators/cluster/afr/src/afr-self-heald.c
@@ -428,8 +428,8 @@ afr_shd_index_heal (xlator_t *subvol, gf_dirent_t *entry, loc_t *parent,
if (!priv->shd.enabled)
return -EBUSY;
- gf_msg_debug (healer->this->name, 0, "got entry: %s",
- entry->d_name);
+ gf_msg_debug (healer->this->name, 0, "got entry: %s from %s",
+ entry->d_name, priv->children[healer->subvol]->name);
ret = gf_uuid_parse (entry->d_name, gfid);
if (ret)