libceph: small write_partial_msg_pages() refactor
authorAlex Elder <elder@inktank.com>
Thu, 7 Mar 2013 05:39:38 +0000 (23:39 -0600)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:16:48 +0000 (21:16 -0700)
commite387d525b0ceeecf07b074781eab77414dc9697e
tree283991ccc3d087a0a90c280a7f3a19765537b39c
parent78625051b524e104332e69a9079d0ee9a2100cf2
libceph: small write_partial_msg_pages() refactor

Define local variables page_offset and length to represent the range
of bytes within a page that will be sent by ceph_tcp_sendpage() in
write_partial_msg_pages().

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
net/ceph/messenger.c