summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-self-heal-common.h
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2009-04-09 03:53:26 -0700
committerAnand V. Avati <avati@amp.gluster.com>2009-04-09 18:57:01 +0530
commitec35b79f746d8a9451d7a3b9894025fdad7382f4 (patch)
tree9396c57dfee291eee6539dd602a34ef2b59d04bc /xlators/cluster/afr/src/afr-self-heal-common.h
parent445b57bf7207107a9ef078697b7d03bb9349747a (diff)
Erase xattr during self-heal based on original dict.
Decrement xattr during self-heal based on the original dict instead of pending_matrix, as the pending_matrix might have been altered later. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-common.h')
-rw-r--r--xlators/cluster/afr/src/afr-self-heal-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-common.h b/xlators/cluster/afr/src/afr-self-heal-common.h
index f3beff71f25..df786e99924 100644
--- a/xlators/cluster/afr/src/afr-self-heal-common.h
+++ b/xlators/cluster/afr/src/afr-self-heal-common.h
@@ -48,7 +48,7 @@ afr_sh_build_pending_matrix (int32_t *pending_matrix[], dict_t *xattr[],
int child_count, const char *key);
void
-afr_sh_pending_to_delta (int32_t *pending_matrix[], int32_t *delta_matrix[],
+afr_sh_pending_to_delta (dict_t **xattr, char *key, int32_t *delta_matrix[],
int32_t success[], int child_count);
int