summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/cluster/afr/src/pump.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/pump.c b/xlators/cluster/afr/src/pump.c
index 45ae7db08..b10a7c0ae 100644
--- a/xlators/cluster/afr/src/pump.c
+++ b/xlators/cluster/afr/src/pump.c
@@ -2385,6 +2385,9 @@ init (xlator_t *this)
priv->pump_private = pump_priv;
+ pthread_mutex_init (&priv->mutex, NULL);
+ INIT_LIST_HEAD (&priv->saved_fds);
+
pump_change_state (this, PUMP_STATE_ABORT);
ret = 0;