Reviewed-by: Sage Weil
On Thu, 10 May 2012, Alex Elder wrote:
> read_partial() always increases whatever "to" value is supplied by
> adding the requested size to it. That's the only thing it does with
> that pointed-to value.
>
> Do that pointer advance in the caller (and then only when the
>
read_partial() always increases whatever "to" value is supplied by
adding the requested size to it. 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 b