From f0fed682ecca92c1ade5076637c4cbd450ce19f3 Mon Sep 17 00:00:00 2001 From: "Anand V. Avati" Date: Fri, 22 May 2009 02:10:27 +0000 Subject: THIS: ib-verbs now uses xlator_notify for setting THIS Signed-off-by: Anand V. Avati --- transport/ib-verbs/src/ib-verbs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'transport') 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); -- cgit