summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2010-08-23 12:56:07 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-08-24 02:35:31 -0700
commit40c39c390b3dee1a4906b3f1fcaab42beb9d8f19 (patch)
tree8a033f537c34b1bd77861fae9f3910ef8f051d8a
parentdf4a7d75765b042ddbda4cbcd419743a37767ec3 (diff)
glusterd: Inject right event during peer detach
Signed-off-by: Vijay Bellur <vijay@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1215 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1215
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c
index 00162e913..463213ec1 100644
--- a/xlators/mgmt/glusterd/src/glusterd-handler.c
+++ b/xlators/mgmt/glusterd/src/glusterd-handler.c
@@ -209,7 +209,7 @@ glusterd_handle_unfriend_req (rpcsvc_request_t *req, uuid_t uuid,
}
ret = glusterd_friend_sm_new_event
- (GD_FRIEND_EVENT_REMOVE_FRIEND, &event);
+ (GD_FRIEND_EVENT_RCVD_REMOVE_FRIEND, &event);
if (ret) {
gf_log ("", GF_LOG_ERROR, "event generation failed: %d", ret);