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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2012 19:38:04 +0000 (11:38 -0800)
commit1f7631fba2a763f45bfec34bdf731e2089ca3d87
tree31d13e1cdef11e4315bde9451a9a3417b8a4d521
parentdd22ce515dc6f8a69957473f1ce0d0d8f043b06a
ceph: messenger: change read_partial() to take "end" arg

(cherry picked from commit fd51653f78cf40a0516e521b6de22f329c5bad8d)

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ceph/messenger.c