summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-replace-brick.c
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2018-08-16 14:18:46 +0300
committerAmar Tumballi <amarts@redhat.com>2018-08-23 10:03:47 +0000
commitdf03b2facb4b894834b7865c31cf484768561877 (patch)
tree9a36ee624ec10c1cf789000e04ddbfb911ee593a /xlators/mgmt/glusterd/src/glusterd-replace-brick.c
parentcbee5397881ae9eff8fec5bf514233587919f68e (diff)
xlators/mgmt/glusterd/src/glusterd-replace-brick.c : reduce size of message variable
Size of error message variable reduced from 2048 bytes to 256 bytes. Compile-tested only! Change-Id: Ifc0f6af2256bcbec77102767ba651d5d55f8c906 updates: bz#1193929 Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-replace-brick.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-replace-brick.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-replace-brick.c b/xlators/mgmt/glusterd/src/glusterd-replace-brick.c
index 6e853e51072..de8663fdcb4 100644
--- a/xlators/mgmt/glusterd/src/glusterd-replace-brick.c
+++ b/xlators/mgmt/glusterd/src/glusterd-replace-brick.c
@@ -43,7 +43,7 @@ __glusterd_handle_replace_brick (rpcsvc_request_t *req)
char *cli_op = NULL;
glusterd_op_t op = -1;
char *volname = NULL;
- char msg[2048] = {0,};
+ char msg[256] = {0,};
xlator_t *this = NULL;
glusterd_conf_t *conf = NULL;