diff options
Diffstat (limited to 'xlators/cluster/afr/src/afr-common.c')
| -rw-r--r-- | xlators/cluster/afr/src/afr-common.c | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-common.c b/xlators/cluster/afr/src/afr-common.c index d503609e8a2..072c663c5c0 100644 --- a/xlators/cluster/afr/src/afr-common.c +++ b/xlators/cluster/afr/src/afr-common.c @@ -1035,7 +1035,10 @@ afr_inode_refresh_done (call_frame_t *frame, xlator_t *this)                  }                  heal_local->refreshinode = inode_ref (local->refreshinode);                  heal_local->heal_frame = heal_frame; -                afr_throttled_selfheal (heal_frame, this); +                if (!afr_throttled_selfheal (heal_frame, this)) { +                        AFR_STACK_DESTROY (heal_frame); +                        goto refresh_done; +                }          }  refresh_done:  | 
