summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2018-08-16 14:17:42 +0300
committerAmar Tumballi <amarts@redhat.com>2018-08-23 04:19:03 +0000
commit14b4c22f2f49d6816b247d59cc75d8ddbe842b49 (patch)
treee351f01f8e6eed51bbcdc51152c5cd233e70f7ff /xlators
parentb18221b582faca8e5ef1229bffe3b5ca17e4be11 (diff)
xlators/mgmt/glusterd/src/glusterd-geo-rep.c : reduce size of message variable
Size of error message variable reduced from 2048 bytes to 64 bytes. Compile-tested only! Change-Id: I65abd9c4f23a64ac9cda5373aff4119458addbc8 updates: bz#1193929 Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-geo-rep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-geo-rep.c b/xlators/mgmt/glusterd/src/glusterd-geo-rep.c
index b70d32fab77..7083fb1d339 100644
--- a/xlators/mgmt/glusterd/src/glusterd-geo-rep.c
+++ b/xlators/mgmt/glusterd/src/glusterd-geo-rep.c
@@ -95,7 +95,7 @@ __glusterd_handle_sys_exec (rpcsvc_request_t *req)
glusterd_op_t cli_op = GD_OP_SYS_EXEC;
glusterd_conf_t *priv = NULL;
char *host_uuid = NULL;
- char err_str[2048] = {0,};
+ char err_str[64] = {0,};
xlator_t *this = NULL;
GF_ASSERT (req);
@@ -167,7 +167,7 @@ __glusterd_handle_copy_file (rpcsvc_request_t *req)
glusterd_op_t cli_op = GD_OP_COPY_FILE;
glusterd_conf_t *priv = NULL;
char *host_uuid = NULL;
- char err_str[2048] = {0,};
+ char err_str[64] = {0,};
xlator_t *this = NULL;
GF_ASSERT (req);
@@ -243,7 +243,7 @@ __glusterd_handle_gsync_set (rpcsvc_request_t *req)
int type = 0;
glusterd_conf_t *priv = NULL;
char *host_uuid = NULL;
- char err_str[2048] = {0,};
+ char err_str[64] = {0,};
xlator_t *this = NULL;
GF_ASSERT (req);