From: Alex Elder Date: Mon, 11 Jun 2012 19:57:13 +0000 (-0500) Subject: libceph: move init of bio_iter X-Git-Tag: v3.6-rc1~36^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=572c588edadaa3da3992bd8a0fed830bbcc861f8;p=pandora-kernel.git 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 Reviewed-by: Sage Weil --- Reading git-diff-tree failed