summaryrefslogtreecommitdiffstats
path: root/include/linux/ceph
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-03-11 23:34:23 -0500
committerSage Weil <sage@inktank.com>2013-05-01 21:17:32 -0700
commit643c68a4a990612720479078f3450d5b766da9f2 (patch)
tree4a81548a9b0242fa4bdb95a05d01ba125d7be45f /include/linux/ceph
parent4c59b4a278f9b7a418ad8af933fd7b341df64393 (diff)
libceph: use cursor resid for loop condition
Use the "resid" field of a cursor rather than finding when the message data position has moved up to meet the data length to determine when all data has been sent or received in write_partial_message_data() and read_partial_msg_data(). This is cleanup of old code related to: http://tracker.ceph.com/issues/4428 Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'include/linux/ceph')
0 files changed, 0 insertions, 0 deletions