diff options
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-common.c')
| -rw-r--r-- | xlators/cluster/afr/src/afr-self-heal-common.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-common.c b/xlators/cluster/afr/src/afr-self-heal-common.c index 60492c3ae89..dafa621dd09 100644 --- a/xlators/cluster/afr/src/afr-self-heal-common.c +++ b/xlators/cluster/afr/src/afr-self-heal-common.c @@ -1598,12 +1598,12 @@ afr_self_heal (call_frame_t *frame, xlator_t *this)                  LOCK (&priv->lock);                  {                          if (priv->background_self_heals_started -                            > priv->background_self_heal_count) { +                            < priv->background_self_heal_count) { +                                priv->background_self_heals_started++; -                                local->self_heal.background = _gf_false;                          } else { -                                priv->background_self_heals_started++; +                                local->self_heal.background = _gf_false;                          }                  }                  UNLOCK (&priv->lock);  | 
