diff options
author | Anoop C S <anoopcs@redhat.com> | 2015-09-12 19:48:06 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2015-09-28 04:57:54 -0700 |
commit | 5be6f0339b5ad189868a50b837ae7b8c164a5b25 (patch) | |
tree | 6451476f09626a99cf03e7d04a4e03722d01259d /xlators/protocol/client/src/client.h | |
parent | 007bfd963240d7cf80b4f1b5f652cf142bcadb65 (diff) |
protocol/client: Remove dead code from client_rpc_notify
Normally GF_EVENT_CHILD_UP is dispatched after client
handshake. But we have some dead code in client_rpc_notify
which is assumed to do the same on receiving RPC_CLNT_CONNECT.
This dispatch is based on a condition whether "disable-handshake"
is enabled or not. Since we require client-handshake everytime
we have a connect this check for "disable-handshake" is invalid
and no longer required. Moreover this option is never handled
in any of the translators.
Change-Id: Ic862d6ac08cd3b18cf231f50140cd00e84e52ca0
BUG: 1227667
Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-on: http://review.gluster.org/12170
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'xlators/protocol/client/src/client.h')
-rw-r--r-- | xlators/protocol/client/src/client.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/protocol/client/src/client.h b/xlators/protocol/client/src/client.h index 55f95257a6d..5a012440eef 100644 --- a/xlators/protocol/client/src/client.h +++ b/xlators/protocol/client/src/client.h @@ -270,4 +270,6 @@ gf_boolean_t __is_fd_reopen_in_progress (clnt_fd_ctx_t *fdctx); int client_notify_dispatch (xlator_t *this, int32_t event, void *data, ...); +int +client_notify_dispatch_uniq (xlator_t *this, int32_t event, void *data, ...); #endif /* !_CLIENT_H */ |