diff options
author | Anand Avati <avati@redhat.com> | 2013-08-22 14:14:22 -0700 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2013-08-23 03:34:01 -0700 |
commit | d64df6a92c2492812ef7c23cc133f5d7a113ec42 (patch) | |
tree | dc599a95d692463fd03fc7db13540ebdd22af751 | |
parent | 898edbf1335726566d501e2409b57fef4f97671e (diff) | |
download | glusterfs-d64df6a92c2492812ef7c23cc133f5d7a113ec42.tar.gz glusterfs-d64df6a92c2492812ef7c23cc133f5d7a113ec42.tar.xz glusterfs-d64df6a92c2492812ef7c23cc133f5d7a113ec42.zip |
rpc: fix typo which refers glibc macro
A typo which read MAX_AUTH_BYTES instead of GF_MAX_AUTH_BYTES was
picking the value 400 instead of the larger 2048. This causes
failures when number of aux group ids is a large number.
Change-Id: Idb8d59aee2690fd53e24c2e09f58a16fe387ef27
BUG: 1000131
Signed-off-by: Anand Avati <avati@redhat.com>
Reviewed-on: http://review.gluster.org/5695
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
-rw-r--r-- | rpc/rpc-lib/src/xdr-rpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/rpc-lib/src/xdr-rpc.c b/rpc/rpc-lib/src/xdr-rpc.c index ef52764c3a..adb48a5318 100644 --- a/rpc/rpc-lib/src/xdr-rpc.c +++ b/rpc/rpc-lib/src/xdr-rpc.c @@ -34,7 +34,7 @@ xdr_to_rpc_call (char *msgbuf, size_t len, struct rpc_msg *call, struct iovec *payload, char *credbytes, char *verfbytes) { XDR xdr; - char opaquebytes[MAX_AUTH_BYTES]; + char opaquebytes[GF_MAX_AUTH_BYTES]; struct opaque_auth *oa = NULL; int ret = -1; |