summaryrefslogtreecommitdiffstats
path: root/glusterfsd
diff options
context:
space:
mode:
authorHarshavardhana <harsha@harshavardhana.net>2013-07-18 20:52:36 -0700
committerVijay Bellur <vbellur@redhat.com>2013-07-25 00:31:54 -0700
commit333872c8ad93cb9da682d27e89bc2a58cf86aba0 (patch)
tree31ee47b371879449ee3de3471f6a73169367501a /glusterfsd
parent5fbee7cdad349f514ec6a1adc306bad6bb031297 (diff)
glusterfsd: is_mgmt_rpc_reconnect should not be `char` but gf_boolean_t
Change-Id: I35c4dc040ebb5e926c7f54d823d1c81b1228bd4f BUG: 763046 Signed-off-by: Harshavardhana <harsha@harshavardhana.net> Reviewed-on: http://review.gluster.org/5345 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'glusterfsd')
-rw-r--r--glusterfsd/src/glusterfsd-mgmt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/glusterfsd/src/glusterfsd-mgmt.c b/glusterfsd/src/glusterfsd-mgmt.c
index 4d9ddafea49..e26bf5a2ff4 100644
--- a/glusterfsd/src/glusterfsd-mgmt.c
+++ b/glusterfsd/src/glusterfsd-mgmt.c
@@ -37,7 +37,7 @@
#include "syncop.h"
#include "xlator.h"
-static char is_mgmt_rpc_reconnect;
+static gf_boolean_t is_mgmt_rpc_reconnect = _gf_false;
int glusterfs_mgmt_pmap_signin (glusterfs_ctx_t *ctx);
int glusterfs_volfile_fetch (glusterfs_ctx_t *ctx);
@@ -1618,7 +1618,7 @@ mgmt_getspec_cbk (struct rpc_req *req, struct iovec *iov, int count,
memcpy (oldvolfile, rsp.spec, size);
if (!is_mgmt_rpc_reconnect) {
glusterfs_mgmt_pmap_signin (ctx);
- is_mgmt_rpc_reconnect = 1;
+ is_mgmt_rpc_reconnect = _gf_true;
}
out: