From: Alex Elder Date: Thu, 10 May 2012 15:29:50 +0000 (-0500) Subject: ceph: messenger: update "to" in read_partial() caller X-Git-Tag: v3.5-rc1~36^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6cee71fac27c946a0bbad754dd076e66c4e9dbd;p=pandora-kernel.git 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 Reviewed-by: Sage Weil --- Reading git-diff-tree failed