From: Alex Elder Date: Tue, 12 Mar 2013 04:34:23 +0000 (-0500) Subject: libceph: use cursor resid for loop condition X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~26^2~167 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=643c68a4a990612720479078f3450d5b766da9f2;p=pandora-kernel.git 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 Reviewed-by: Josh Durgin --- Reading git-diff-tree failed