libceph: more cleanup of write_partial_msg_pages()
authorAlex Elder <elder@inktank.com>
Fri, 8 Mar 2013 19:35:36 +0000 (13:35 -0600)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:17:06 +0000 (21:17 -0700)
commit8a166d05369f6a0369bb194a795e6e3928ac6e34
tree3ab95714e5d1533d10fbc5558704a59b85022088
parent9d2a06c2750177dca5f8d0e89884c1d409d64bbc
libceph: more cleanup of write_partial_msg_pages()

Basically all cases in write_partial_msg_pages() use the cursor, and
as a result we can simplify that function quite a bit.

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