Alex Elder e6cee71fac ceph: messenger: update "to" in read_partial() caller
read_partial() always increases whatever "to" value is supplied by
adding the requested size to it, and that's the only thing it does
with that pointed-to value.

Do that pointer advance in the caller (and then only when the
updated value will be subsequently used), and change the "to"
parameter to be an in-only and non-pointer value.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2012-05-14 12:16:42 -05:00
..
2011-12-14 02:39:30 -05:00
2012-02-22 02:23:25 -05:00
2011-12-16 15:07:28 -05:00
2011-03-17 11:59:32 +11:00
2012-03-11 15:52:12 -07:00
2011-12-11 18:25:16 -05:00
2011-09-16 19:20:20 -04:00
2011-12-16 15:49:52 -05:00
2010-10-15 15:53:27 +02:00