diff options
author | Krishnan Parthasarathi <kparthas@redhat.com> | 2015-05-20 18:23:58 +0530 |
---|---|---|
committer | Kaushal M <kaushal@redhat.com> | 2015-05-26 06:41:35 -0700 |
commit | f59a1431e38ad644b6bdd4adbdf94ff028c9c60d (patch) | |
tree | 2261ef1faa66d2ac6ed044d162df7294d065b085 /xlators/mgmt/glusterd/src/glusterd-utils.h | |
parent | 30c97ce5c9ba03760bdab7c82208065da631efe9 (diff) |
glusterd: fix double-free of rebalance process' rpc object
Change-Id: I0c79c4de47a160b1ecf3a8994eedc02e3f5002a9
BUG: 1223338
Signed-off-by: Krishnan Parthasarathi <kparthas@redhat.com>
Reviewed-on: http://review.gluster.org/10872
Tested-by: NetBSD Build System
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
Reviewed-by: Kaushal M <kaushal@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.h')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-utils.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.h b/xlators/mgmt/glusterd/src/glusterd-utils.h index 8975e53f91b..3906449e902 100644 --- a/xlators/mgmt/glusterd/src/glusterd-utils.h +++ b/xlators/mgmt/glusterd/src/glusterd-utils.h @@ -180,6 +180,9 @@ glusterd_set_socket_filepath (char *sock_filepath, char *sockpath, size_t len); struct rpc_clnt* glusterd_pending_node_get_rpc (glusterd_pending_node_t *pending_node); +void +glusterd_pending_node_put_rpc (glusterd_pending_node_t *pending_node); + int glusterd_remote_hostname_get (rpcsvc_request_t *req, char *remote_host, int len); @@ -654,4 +657,9 @@ int glusterd_disallow_op_for_tier (glusterd_volinfo_t *volinfo, glusterd_op_t op, int cmd); +struct rpc_clnt* +glusterd_defrag_rpc_get (glusterd_defrag_info_t *defrag); + +struct rpc_clnt* +glusterd_defrag_rpc_put (glusterd_defrag_info_t *defrag); #endif |