]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb0a80c9c7b51ca20f2d12eaae0a8163b8238634b
tree9645467cbb3a23bca4f3c7434f6ee93f212fa2ed
parentb0ebf3ad5a2cf73caf38679e70ccee7d4c557493
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