From 40c39c390b3dee1a4906b3f1fcaab42beb9d8f19 Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Mon, 23 Aug 2010 12:56:07 +0000 Subject: glusterd: Inject right event during peer detach Signed-off-by: Vijay Bellur Signed-off-by: Anand V. Avati BUG: 1215 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1215 --- xlators/mgmt/glusterd/src/glusterd-handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators') diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c index 00162e913e..463213ec13 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); -- cgit