From 9b2159c6111cff889c543fdaf7628fce03e50154 Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Thu, 26 Nov 2009 07:22:08 +0000 Subject: THIS: transport to use xlator_notify() for proper setting of @THIS Signed-off-by: Anand V. Avati Signed-off-by: Anand V. Avati BUG: 315 (generation number support) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=315 --- libglusterfs/src/transport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libglusterfs') diff --git a/libglusterfs/src/transport.c b/libglusterfs/src/transport.c index 5ffcfa405..56781efe8 100644 --- a/libglusterfs/src/transport.c +++ b/libglusterfs/src/transport.c @@ -377,7 +377,7 @@ transport_unref (transport_t *this) pthread_mutex_unlock (&this->lock); if (refcount == 0) { - this->xl->notify (this->xl, GF_EVENT_TRANSPORT_CLEANUP, this); + xlator_notify (this->xl, GF_EVENT_TRANSPORT_CLEANUP, this); transport_destroy (this); } @@ -411,7 +411,7 @@ transport_peerproc (void *trans_data) trans->handover.msg = msg; - trans->xl->notify (trans->xl, GF_EVENT_POLLIN, trans); + xlator_notify (trans->xl, GF_EVENT_POLLIN, trans); FREE (msg); } -- cgit