commit | 150f8d8f81916194dd54dd77d826d3ff95899710 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Thu May 10 10:29:50 2012 -0500 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:16:52 2020 +0200 |
tree | 773c24289f3fc4a6432a4bb0aed6add54214b4fc | |
parent | c89e87a1b6ee071c3a291164fec0dd53d3007170 [diff] |
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>