summaryrefslogtreecommitdiffstats
path: root/xlators/cluster
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2009-04-20 03:38:15 -0700
committerAnand V. Avati <avati@amp.gluster.com>2009-04-20 16:21:32 +0530
commit2f5ee29248f4eafcd1c2f5cc31432d22739349d0 (patch)
tree2afd1e8afb045f16883f478109129391b654e620 /xlators/cluster
parentaa085b10678c01693d0f7222bd4054bb8e8836cc (diff)
Minor fix in afr_sh_build_pending_matrix.
Remove incorrect check for xattr[i] being NULL. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/cluster')
-rw-r--r--xlators/cluster/afr/src/afr-self-heal-common.c3
1 files changed, 0 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 be75a6261..f6a4bf9fb 100644
--- a/xlators/cluster/afr/src/afr-self-heal-common.c
+++ b/xlators/cluster/afr/src/afr-self-heal-common.c
@@ -138,9 +138,6 @@ afr_sh_build_pending_matrix (afr_private_t *priv,
}
for (i = 0; i < child_count; i++) {
- if (!xattr[i])
- continue;
-
pending = NULL;
for (j = 0; j < child_count; j++) {