summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-volgen.c
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2018-08-16 14:20:19 +0300
committerAmar Tumballi <amarts@redhat.com>2018-08-23 09:44:45 +0000
commitcbee5397881ae9eff8fec5bf514233587919f68e (patch)
treef1c47c97de751748109dda39f7837de9d2bef334 /xlators/mgmt/glusterd/src/glusterd-volgen.c
parentcd95c072f4bc13c5c920aae359e8e9b84725ea2c (diff)
xlators/mgmt/glusterd/src/glusterd-volgen.c : reduce size of message variable
Size of error message variable reduced from 4096 bytes to 128 bytes. Compile-tested only! Change-Id: I08c87502be791e68ab767ed96657ac89ee77fae0 updates: bz#1193929 Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volgen.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c
index 63a4180..614ce0e 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volgen.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c
@@ -6870,7 +6870,7 @@ validate_nfsopts (glusterd_volinfo_t *volinfo,
int ret = -1;
char transport_type[16] = {0,};
char *tt = NULL;
- char err_str[4096] = {0,};
+ char err_str[128] = {0,};
xlator_t *this = THIS;
GF_ASSERT (this);