]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph_test_objectstore: use explicit ghobject_t ctor
authorSage Weil <sage@redhat.com>
Thu, 18 Jun 2015 23:39:21 +0000 (16:39 -0700)
committerSage Weil <sage@redhat.com>
Fri, 19 Jun 2015 00:37:59 +0000 (17:37 -0700)
Signed-off-by: Sage Weil <sage@redhat.com>
src/test/objectstore/store_test.cc

index 53606b18bdadaabe6abd145621f449f8755623c6..2b3887a35d849175f65ce4ec0550fc5fa244f40d 100644 (file)
@@ -1758,8 +1758,8 @@ TEST_P(StoreTest, TwoHash) {
 
 TEST_P(StoreTest, MoveRename) {
   coll_t cid(spg_t(pg_t(212,0),shard_id_t::NO_SHARD));
-  hobject_t temp_oid("tmp_oid", "", CEPH_NOSNAP, 0, 0, "");
-  hobject_t oid("dest_oid", "", CEPH_NOSNAP, 0, 0, "");
+  ghobject_t temp_oid(hobject_t("tmp_oid", "", CEPH_NOSNAP, 0, 0, ""));
+  ghobject_t oid(hobject_t("dest_oid", "", CEPH_NOSNAP, 0, 0, ""));
   int r;
   {
     ObjectStore::Transaction t;