diff options
author | Pranith Kumar K <pranithk@gluster.com> | 2010-09-15 06:49:56 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-09-15 07:18:14 -0700 |
commit | c109ffb893ab80dd7b9dac038f5778961859ceff (patch) | |
tree | 27bdaf888e941008abe496c4dc4721b5950d3ba4 /xlators/protocol | |
parent | 89ec6582d1977c98372cb69f6471fcfde8437bb7 (diff) |
cli, mgmt/glusterd: disallow probe to a cluster
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 1594 (make probe oneway)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1594
Diffstat (limited to 'xlators/protocol')
-rw-r--r-- | xlators/protocol/client/src/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/protocol/client/src/client.c b/xlators/protocol/client/src/client.c index 03e0ec44266..9b9873cfe85 100644 --- a/xlators/protocol/client/src/client.c +++ b/xlators/protocol/client/src/client.c @@ -1697,7 +1697,7 @@ client_destroy_rpc (xlator_t *this) conf = this->private; if (conf->rpc) { - rpc_clnt_destroy (conf->rpc); + conf->rpc = rpc_clnt_unref (conf->rpc); ret = 0; gf_log (this->name, GF_LOG_DEBUG, "Client rpc conn destroyed"); |