diff options
author | Alex Elder <elder@inktank.com> | 2012-05-10 10:29:50 -0500 |
---|---|---|
committer | Alex Elder <elder@dreamhost.com> | 2012-05-14 12:16:42 -0500 |
commit | e6cee71fac27c946a0bbad754dd076e66c4e9dbd (patch) | |
tree | 9c20b73601c5904376e4e986877c7ad75da0927f /net/8021q/Makefile | |
parent | 57dac9d1620942608306d8c17c98a9d1568ffdf4 (diff) | |
download | talos-obmc-linux-e6cee71fac27c946a0bbad754dd076e66c4e9dbd.tar.gz talos-obmc-linux-e6cee71fac27c946a0bbad754dd076e66c4e9dbd.zip |
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 <elder@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'net/8021q/Makefile')
0 files changed, 0 insertions, 0 deletions