diff options
Diffstat (limited to 'xlators')
4 files changed, 0 insertions, 8 deletions
diff --git a/xlators/features/changelog/lib/src/gf-changelog-rpc.c b/xlators/features/changelog/lib/src/gf-changelog-rpc.c index c1139423d6d..7eb5416ae98 100644 --- a/xlators/features/changelog/lib/src/gf-changelog-rpc.c +++ b/xlators/features/changelog/lib/src/gf-changelog-rpc.c @@ -21,7 +21,6 @@ gf_changelog_rpc_notify (struct rpc_clnt *rpc, { switch (event) { case RPC_CLNT_CONNECT: - rpc_clnt_set_connected (&rpc->conn); break; case RPC_CLNT_DISCONNECT: case RPC_CLNT_MSG: diff --git a/xlators/features/changelog/src/changelog-ev-handle.c b/xlators/features/changelog/src/changelog-ev-handle.c index b5681944567..46d45fbd778 100644 --- a/xlators/features/changelog/src/changelog-ev-handle.c +++ b/xlators/features/changelog/src/changelog-ev-handle.c @@ -138,7 +138,6 @@ changelog_rpc_notify (struct rpc_clnt *rpc, switch (event) { case RPC_CLNT_CONNECT: - rpc_clnt_set_connected (&rpc->conn); selection = &priv->ev_selection; LOCK (&c_clnt->wait_lock); diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c index 9e8a586cbc4..64ff9ffcaf4 100644 --- a/xlators/mgmt/glusterd/src/glusterd-handler.c +++ b/xlators/mgmt/glusterd/src/glusterd-handler.c @@ -6111,7 +6111,6 @@ __glusterd_brick_rpc_notify (struct rpc_clnt *rpc, void *mydata, break; } - rpc_clnt_set_connected (&rpc->conn); gf_msg_debug (this->name, 0, "Connected to %s:%s", brickinfo->hostname, brickinfo->path); @@ -6126,7 +6125,6 @@ __glusterd_brick_rpc_notify (struct rpc_clnt *rpc, void *mydata, break; case RPC_CLNT_DISCONNECT: - rpc_clnt_unset_connected (&rpc->conn); if (rpc != brickinfo->rpc) { /* * There used to be a bunch of races in the volume @@ -6358,7 +6356,6 @@ __glusterd_peer_rpc_notify (struct rpc_clnt *rpc, void *mydata, switch (event) { case RPC_CLNT_CONNECT: { - rpc_clnt_set_connected (&rpc->conn); gf_msg_debug (this->name, 0, "got RPC_CLNT_CONNECT"); peerinfo->connected = 1; peerinfo->quorum_action = _gf_true; @@ -6391,7 +6388,6 @@ __glusterd_peer_rpc_notify (struct rpc_clnt *rpc, void *mydata, if (is_rpc_clnt_disconnected (&rpc->conn)) break; - rpc_clnt_unset_connected (&rpc->conn); gf_msg (this->name, GF_LOG_INFO, 0, GD_MSG_PEER_DISCONNECTED, "Peer <%s> (<%s>), in state <%s>, has disconnected " diff --git a/xlators/protocol/client/src/client-handshake.c b/xlators/protocol/client/src/client-handshake.c index 5c0b4750e2e..1c705f59404 100644 --- a/xlators/protocol/client/src/client-handshake.c +++ b/xlators/protocol/client/src/client-handshake.c @@ -1175,8 +1175,6 @@ client_setvolume_cbk (struct rpc_req *req, struct iovec *iov, int count, void *m conf->rpc->conn.name, remote_subvol); - rpc_clnt_set_connected (&conf->rpc->conn); - op_ret = 0; conf->connecting = 0; conf->connected = 1; |