Re: [PATCH 2/3] ceph: messenger: update "to" in read_partial() caller

2012-05-12 Thread Sage Weil
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 >

[PATCH 2/3] ceph: messenger: update "to" in read_partial() caller

2012-05-10 Thread Alex Elder
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