diff options
author | Yaniv Kaul <ykaul@redhat.com> | 2018-08-16 14:17:01 +0300 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-08-23 03:47:46 +0000 |
commit | 6dbf510f3c764d17c5b3967de05fdfb33c9dca93 (patch) | |
tree | bea36e189b17bc1dc82f6570c53909349597d5de | |
parent | 33e7137a483a5abea8295b4d604edc6989241c12 (diff) |
xlators/mgmt/glusterd/src/glusterd-bitrot.c : reduce size of message variable
Size of error message variable reduced from 2048 bytes to 256 bytes.
Compile-tested only!
Change-Id: Ib536451d9b562f932132b99c4eff21fc4f2775bc
updates: bz#1193929
Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-bitrot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-bitrot.c b/xlators/mgmt/glusterd/src/glusterd-bitrot.c index 167c434dffc..a9e02693bbc 100644 --- a/xlators/mgmt/glusterd/src/glusterd-bitrot.c +++ b/xlators/mgmt/glusterd/src/glusterd-bitrot.c @@ -46,7 +46,7 @@ __glusterd_handle_bitrot (rpcsvc_request_t *req) char *volname = NULL; char *scrub = NULL; int32_t type = 0; - char msg[2048] = {0,}; + char msg[256] = {0,}; xlator_t *this = NULL; glusterd_conf_t *conf = NULL; |