commit | bae6acd9c65cbfeffc66a9f48ae91dca6e3aec85 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Wed Mar 06 23:39:38 2013 -0600 |
committer | Sage Weil <sage@inktank.com> | Wed May 01 21:16:46 2013 -0700 |
tree | 982699ac420bd52c21bdc84230594f65f0ed58bb | |
parent | 98a0370898799895aa8f55109f54c33fcd8196b0 [diff] |
libceph: use local variables for message positions There are several places where a message's out_msg_pos or in_msg_pos field is used repeatedly within a function. Use a local pointer variable for this purpose to unclutter the code. This and the upcoming cleanup patches are related to: http://tracker.ceph.com/issues/4403 Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>