]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/os/bluestore/FreelistManager.cc
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / os / bluestore / FreelistManager.cc
index 9b91cc09437ca0af76b853885cca89ea9d04e3a3..8aeb452667db7069a99195d639efe55629552051 100644 (file)
@@ -7,16 +7,15 @@
 FreelistManager *FreelistManager::create(
   CephContext* cct,
   string type,
-  KeyValueDB *kvdb,
   string prefix)
 {
   // a bit of a hack... we hard-code the prefixes here.  we need to
   // put the freelistmanagers in different prefixes because the merge
   // op is per prefix, has to done pre-db-open, and we don't know the
   // freelist type until after we open the db.
-  assert(prefix == "B");
+  ceph_assert(prefix == "B");
   if (type == "bitmap")
-    return new BitmapFreelistManager(cct, kvdb, "B", "b");
+    return new BitmapFreelistManager(cct, "B", "b");
   return NULL;
 }