diff options
| author | Alex Elder <elder@inktank.com> | 2012-06-11 14:57:13 -0500 |
|---|---|---|
| committer | Sage Weil <sage@inktank.com> | 2012-07-05 21:14:16 -0700 |
| commit | 572c588edadaa3da3992bd8a0fed830bbcc861f8 (patch) | |
| tree | 3de334c5d18565a3451bfd991f9ab54c2187dca2 /lib/mpi/mpi-inline.c | |
| parent | df6ad1f97342ebc4270128222e896541405eecdb (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 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions
