diff options
author | Vikas Gorur <vikas@gluster.com> | 2009-04-20 03:38:15 -0700 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-04-20 16:21:32 +0530 |
commit | 2f5ee29248f4eafcd1c2f5cc31432d22739349d0 (patch) | |
tree | 2afd1e8afb045f16883f478109129391b654e620 /xlators/cluster/afr | |
parent | aa085b10678c01693d0f7222bd4054bb8e8836cc (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/afr')
-rw-r--r-- | xlators/cluster/afr/src/afr-self-heal-common.c | 3 |
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 be75a6261ba..f6a4bf9fbb2 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++) { |