diff options
author | Anand V. Avati <avati@amp.gluster.com> | 2009-05-22 02:10:28 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-05-22 01:16:14 -0700 |
commit | 17cf09641d81f02094288ef9de52cdf720fc516f (patch) | |
tree | c3a989f9dcac85fcf44e99ecf26eff3093627167 /xlators/protocol | |
parent | f0fed682ecca92c1ade5076637c4cbd450ce19f3 (diff) |
THIS: protocol/client now uses xlator_notify for setting THIS
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'xlators/protocol')
-rw-r--r-- | xlators/protocol/client/src/client-protocol.c | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/xlators/protocol/client/src/client-protocol.c b/xlators/protocol/client/src/client-protocol.c index 59b2e1d0..3d2d0e5e 100644 --- a/xlators/protocol/client/src/client-protocol.c +++ b/xlators/protocol/client/src/client-protocol.c @@ -5516,9 +5516,9 @@ client_setvolume_cbk (call_frame_t *frame, gf_hdr_common_t *hdr, size_t hdrlen, if (op_errno == ESTALE) { parent = trans->xl->parents; while (parent) { - parent->xlator->notify (parent->xlator, - GF_EVENT_VOLFILE_MODIFIED, - trans->xl); + xlator_notify (parent->xlator, + GF_EVENT_VOLFILE_MODIFIED, + trans->xl); parent = parent->next; } } @@ -5558,9 +5558,8 @@ client_setvolume_cbk (call_frame_t *frame, gf_hdr_common_t *hdr, size_t hdrlen, parent = trans->xl->parents; while (parent) { - parent->xlator->notify (parent->xlator, - GF_EVENT_CHILD_UP, - trans->xl); + xlator_notify (parent->xlator, GF_EVENT_CHILD_UP, + trans->xl); parent = parent->next; } } @@ -5573,9 +5572,8 @@ out: */ parent = trans->xl->parents; while (parent) { - parent->xlator->notify (parent->xlator, - GF_EVENT_CHILD_CONNECTING, - trans->xl); + xlator_notify (parent->xlator, + GF_EVENT_CHILD_CONNECTING, trans->xl); parent = parent->next; } } @@ -6245,9 +6243,8 @@ notify (xlator_t *this, int32_t event, void *data, ...) parent = this->parents; while (parent) { - parent->xlator->notify (parent->xlator, - GF_EVENT_CHILD_DOWN, - this); + xlator_notify (parent->xlator, + GF_EVENT_CHILD_DOWN, this); parent = parent->next; } } |