summaryrefslogtreecommitdiffstats
path: root/transport
diff options
context:
space:
mode:
authorAnand V. Avati <avati@amp.gluster.com>2009-05-22 02:10:27 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-05-22 01:13:43 -0700
commitf0fed682ecca92c1ade5076637c4cbd450ce19f3 (patch)
treea22806148dcaa50406759122de7143653e6d08c0 /transport
parentad3fdbb2e15e1590efe955c3561aff964c972353 (diff)
THIS: ib-verbs now uses xlator_notify for setting THIS
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'transport')
-rw-r--r--transport/ib-verbs/src/ib-verbs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/transport/ib-verbs/src/ib-verbs.c b/transport/ib-verbs/src/ib-verbs.c
index 7f6f4d852a7..a05fcf12e07 100644
--- a/transport/ib-verbs/src/ib-verbs.c
+++ b/transport/ib-verbs/src/ib-verbs.c
@@ -1146,8 +1146,8 @@ ib_verbs_recv_completion_proc (void *data)
}
pthread_mutex_unlock (&priv->recv_mutex);
- if ((ret = peer->trans->xl->notify (peer->trans->xl, GF_EVENT_POLLIN,
- peer->trans, NULL)) == -1) {
+ if ((ret = xlator_notify (peer->trans->xl, GF_EVENT_POLLIN,
+ peer->trans, NULL)) == -1) {
gf_log ("transport/ib-verbs",
GF_LOG_DEBUG,
"pollin notification to %s "
@@ -1764,7 +1764,7 @@ unlock:
}
if (!ret && priv->connected) {
- ret = this->xl->notify (this->xl, GF_EVENT_CHILD_UP, this);
+ ret = xlator_notify (this->xl, GF_EVENT_CHILD_UP, this);
}
return ret;
@@ -1904,7 +1904,7 @@ ib_verbs_handshake_pollerr (transport_t *this)
}
pthread_mutex_unlock (&priv->write_mutex);
- this->xl->notify (this->xl, GF_EVENT_POLLERR, this, NULL);
+ xlator_notify (this->xl, GF_EVENT_POLLERR, this, NULL);
if (need_unref)
transport_unref (this);