libceph: simplify data length calculation
authorAlex Elder <elder@inktank.com>
Thu, 14 Feb 2013 18:16:43 +0000 (12:16 -0600)
committerAlex Elder <elder@inktank.com>
Wed, 20 Feb 2013 01:14:02 +0000 (19:14 -0600)
commitf44246e394eadf0754bd6716f8ba1fabf362a87d
tree2c76c5e1558f0dd8070bad387af29b499ffdc8ea
parent0eb40bf65e2fcc1c23ed7c9a10cd0890ee59e68f
libceph: simplify data length calculation

Simplify the way the data length recorded in a message header is
calculated in ceph_osdc_build_request().

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
net/ceph/osd_client.c