]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
unittest_bluestore_types: fix csum const name
authorSage Weil <sage@redhat.com>
Fri, 21 Oct 2016 16:46:11 +0000 (12:46 -0400)
committerSage Weil <sage@redhat.com>
Mon, 24 Oct 2016 09:57:42 +0000 (04:57 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/test/objectstore/test_bluestore_types.cc

index d032a79d6d96e2af2b3b3806c38eea167ebde21e..85ef399ae506d3efd5df2054607c39d0512a7589 100644 (file)
@@ -704,7 +704,7 @@ TEST(Blob, put_ref)
                                            0x13000));
     b.extents.push_back(bluestore_pextent_t(0x40118000, 0x7000));
     b.set_flag(bluestore_blob_t::FLAG_SHARED);
-    b.init_csum(bluestore_blob_t::CSUM_CRC32C, 12, 0x1e000);
+    b.init_csum(Checksummer::CSUM_CRC32C, 12, 0x1e000);
     b.sbid = 0xcf92e;
 
     cout << "before: " << B << std::endl;