commit | fd154f3c75465abd83b7a395033e3755908a1e6e | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Mon Jun 11 14:57:13 2012 -0500 |
committer | Sage Weil <sage@inktank.com> | Thu Jul 05 21:14:13 2012 -0700 |
tree | e3b386cd2bf33c687cdac4ef45bf8a063a7049d0 | |
parent | 84ca8fc87fcf4ab97bb8acdb59bf97bb4820cb14 [diff] |
libceph: don't mark footer complete before it is This is a nit, but prepare_write_message() sets the FOOTER_COMPLETE flag before the CRC for the data portion (recorded in the footer) has been completely computed. Hold off setting the complete flag until we've decided it's ready to send. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>