ceph: messenger: change read_partial() to take "end" arg
authorAlex Elder <elder@inktank.com>
Thu, 10 May 2012 15:29:50 +0000 (10:29 -0500)
committerAlex Elder <elder@dreamhost.com>
Mon, 14 May 2012 17:16:42 +0000 (12:16 -0500)
commitfd51653f78cf40a0516e521b6de22f329c5bad8d
tree9645467cbb3a23bca4f3c7434f6ee93f212fa2ed
parente6cee71fac27c946a0bbad754dd076e66c4e9dbd
ceph: messenger: change read_partial() to take "end" arg

Make the second argument to read_partial() be the ending input byte
position rather than the beginning offset it now represents.  This
amounts to moving the addition "to + size" into the caller.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
net/ceph/messenger.c