diff options
author | Amar Tumballi <amarts@redhat.com> | 2012-04-19 12:18:53 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-04-19 00:28:39 -0700 |
commit | 1a46dcecd0cfba549ae54bf61eaea2223b39c10f (patch) | |
tree | aa3898d7a735140e20918793e09ebebfe55e51f5 /xlators | |
parent | 3ad81d490f9e822efa34b3ffaf3c527e99af5d40 (diff) |
rpc-clnt: use the correct xdr_size for getting the iobuf
earlier we used to get the size of rpc_msg from an empty msg, which
was resulting in minimum size allocated for rpc-msg. the correct way
is to fill the required fields in rpc_msg structure and then calculate
the size, and allocate the iobuf.
Change-Id: I3692831b53b8820a36e4562a1fa3d4c3dbdf4f9d
BUG: 813787
Signed-off-by: Amar Tumballi <amarts@redhat.com>
Reviewed-on: http://review.gluster.com/3191
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators')
0 files changed, 0 insertions, 0 deletions