summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-self-heal-metadata.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-metadata.c')
-rw-r--r--xlators/cluster/afr/src/afr-self-heal-metadata.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-metadata.c b/xlators/cluster/afr/src/afr-self-heal-metadata.c
index 4e58c5440..9ce42691a 100644
--- a/xlators/cluster/afr/src/afr-self-heal-metadata.c
+++ b/xlators/cluster/afr/src/afr-self-heal-metadata.c
@@ -214,8 +214,9 @@ afr_sh_metadata_erase_pending (call_frame_t *frame, xlator_t *this)
priv = this->private;
- afr_sh_pending_to_delta (sh->pending_matrix, sh->delta_matrix,
- sh->success, priv->child_count);
+ afr_sh_pending_to_delta (sh->xattr, AFR_METADATA_PENDING,
+ sh->delta_matrix, sh->success,
+ priv->child_count);
erase_xattr = CALLOC (sizeof (*erase_xattr), priv->child_count);