libceph: encapsulate out message data setup
authorAlex Elder <elder@inktank.com>
Mon, 11 Jun 2012 19:57:13 +0000 (14:57 -0500)
committerSage Weil <sage@inktank.com>
Fri, 6 Jul 2012 04:14:10 +0000 (21:14 -0700)
commit739c905baa018c99003564ebc367d93aa44d4861
treea731dc6b87881d1507e8bc542cbaffa0dfaa3583
parentd59315ca8c0de00df9b363f94a2641a30961ca1c
libceph: encapsulate out message data setup

Move the code that prepares to write the data portion of a message
into its own function.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
net/ceph/messenger.c