From: Samuel Just Date: Mon, 13 Jul 2020 22:59:53 +0000 (-0700) Subject: crimson/os/seastore/seastore_types: initialize crcs X-Git-Tag: v16.1.0~1513^2~11 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=70175862500daca9b62ec08235707bb382105290;p=ceph.git crimson/os/seastore/seastore_types: initialize crcs Signed-off-by: Samuel Just --- diff --git a/src/crimson/os/seastore/seastore_types.h b/src/crimson/os/seastore/seastore_types.h index b735b37792c6f..ff18a27235154 100644 --- a/src/crimson/os/seastore/seastore_types.h +++ b/src/crimson/os/seastore/seastore_types.h @@ -237,8 +237,8 @@ struct delta_info_t { paddr_t paddr; ///< physical address /* logical address -- needed for repopulating cache -- TODO don't actually need */ // laddr_t laddr = L_ADDR_NULL; - uint32_t prev_crc; - uint32_t final_crc; + uint32_t prev_crc = 0; + uint32_t final_crc = 0; segment_off_t length = NULL_SEG_OFF; ///< extent length extent_version_t pversion; ///< prior version ceph::bufferlist bl; ///< payload