summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster/afr')
-rw-r--r--xlators/cluster/afr/src/afr-transaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-transaction.c b/xlators/cluster/afr/src/afr-transaction.c
index 6b0e9a7cf..e9b8ee7dc 100644
--- a/xlators/cluster/afr/src/afr-transaction.c
+++ b/xlators/cluster/afr/src/afr-transaction.c
@@ -440,7 +440,7 @@ afr_transaction_rm_stale_children (call_frame_t *frame, xlator_t *this,
if (!afr_is_child_present (fresh_children,
priv->child_count, i))
continue;
- if ((!priv->child_up[i]) || (pending[i][idx] == 0)) {
+ if (pending[i][idx] == 0) {
/* child is down or op failed on it */
rm_stale_children = _gf_true;
afr_children_rm_child (fresh_children, i,