aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorAlex Elder2012-06-11 14:57:13 -0500
committerSage Weil2012-07-05 21:14:16 -0700
commit572c588edadaa3da3992bd8a0fed830bbcc861f8 (patch)
tree3de334c5d18565a3451bfd991f9ab54c2187dca2 /init
parentdf6ad1f97342ebc4270128222e896541405eecdb (diff)
libceph: move init of bio_iter
If a message has a non-null bio pointer, its bio_iter field is initialized in write_partial_msg_pages() if this has not been done already. This is really a one-time setup operation for sending a message's (bio) data, so move that initialization code into prepare_write_message_data() which serves that purpose. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions