diff options
author | Anand Avati <avati@gluster.com> | 2009-11-26 07:22:08 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-11-26 09:06:39 -0800 |
commit | 9b2159c6111cff889c543fdaf7628fce03e50154 (patch) | |
tree | ec3070f60abca87f083ee78c63b2a75ac306cb25 | |
parent | bf34a8714e6ab9dce0670c2648f839165904f2f7 (diff) |
THIS: transport to use xlator_notify() for proper setting of @THIS
Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 315 (generation number support)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=315
-rw-r--r-- | libglusterfs/src/transport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libglusterfs/src/transport.c b/libglusterfs/src/transport.c index 5ffcfa4054b..56781efe8db 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); } |