libceph: compute incoming bytes once
authorAlex Elder <elder@inktank.com>
Wed, 3 Apr 2013 06:28:57 +0000 (01:28 -0500)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:18:05 +0000 (21:18 -0700)
commit9fc6e0647180f72392f03a29863b6602e22aa024
tree4393a8d8905fbe2a4e4dfc0d79c777bf1cf28df1
parent6010a451c38b04cf10808a508f33e5bf32e7de63
libceph: compute incoming bytes once

This is a simple change, extracting the number of incoming data
bytes just once in handle_reply().

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