]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/osd/scrubber/ScrubStore.cc
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / osd / scrubber / ScrubStore.cc
index 1787b3d8875ae86aa886b407c26466a7474e029c..a00ab2caecee6bfc96900daf162ac2a9b932b91d 100644 (file)
@@ -124,6 +124,11 @@ Store::~Store()
   ceph_assert(results.empty());
 }
 
+void Store::add_error(int64_t pool, const inconsistent_obj_wrapper& e)
+{
+  add_object_error(pool, e);
+}
+
 void Store::add_object_error(int64_t pool, const inconsistent_obj_wrapper& e)
 {
   bufferlist bl;
@@ -131,6 +136,11 @@ void Store::add_object_error(int64_t pool, const inconsistent_obj_wrapper& e)
   results[to_object_key(pool, e.object)] = bl;
 }
 
+void Store::add_error(int64_t pool, const inconsistent_snapset_wrapper& e)
+{
+  add_snap_error(pool, e);
+}
+
 void Store::add_snap_error(int64_t pool, const inconsistent_snapset_wrapper& e)
 {
   bufferlist bl;