From 14b4c22f2f49d6816b247d59cc75d8ddbe842b49 Mon Sep 17 00:00:00 2001 From: Yaniv Kaul Date: Thu, 16 Aug 2018 14:17:42 +0300 Subject: 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 --- xlators/mgmt/glusterd/src/glusterd-geo-rep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xlators') 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); -- cgit