summaryrefslogtreecommitdiffstats
path: root/heal/src/glfs-heal.c
diff options
context:
space:
mode:
Diffstat (limited to 'heal/src/glfs-heal.c')
-rw-r--r--heal/src/glfs-heal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/heal/src/glfs-heal.c b/heal/src/glfs-heal.c
index 74cce32fb7c..06dea1fff74 100644
--- a/heal/src/glfs-heal.c
+++ b/heal/src/glfs-heal.c
@@ -507,7 +507,7 @@ glfsh_gather_heal_info (glfs_t *fs, xlator_t *top_subvol, loc_t *rootloc,
while (xl) {
if (strcmp (xl->type, "protocol/client") == 0) {
afr_xl = _get_afr_ancestor (xl);
- if (afr_xl)
+ if (afr_xl) {
old_THIS = THIS;
THIS = afr_xl;
glfsh_print_pending_heals (fs, top_subvol,
@@ -515,6 +515,7 @@ glfsh_gather_heal_info (glfs_t *fs, xlator_t *top_subvol, loc_t *rootloc,
heal_op);
THIS = old_THIS;
printf ("\n");
+ }
}
xl = xl->prev;