]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/osd/ScrubStore.cc
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / osd / ScrubStore.cc
index 08dcae85e2ff34e85fda6609cd81e85469518672..036f4a88e7393a70e49c56955805a8fdf6807483 100644 (file)
@@ -99,8 +99,8 @@ Store::create(ObjectStore* store,
              const spg_t& pgid,
              const coll_t& coll)
 {
-  assert(store);
-  assert(t);
+  ceph_assert(store);
+  ceph_assert(t);
   ghobject_t oid = make_scrub_object(pgid);
   t->touch(coll, oid);
   return new Store{coll, oid, store};
@@ -115,7 +115,7 @@ Store::Store(const coll_t& coll, const ghobject_t& oid, ObjectStore* store)
 
 Store::~Store()
 {
-  assert(results.empty());
+  ceph_assert(results.empty());
 }
 
 void Store::add_object_error(int64_t pool, const inconsistent_obj_wrapper& e)