]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
osd: drop the scrub_purged_snaps() declaration from SnapMapper
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Fri, 18 Nov 2022 18:43:24 +0000 (18:43 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Tue, 28 Feb 2023 16:22:04 +0000 (16:22 +0000)
Nowadays this is a dead code; the actual definition is in `OSD`.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/osd/SnapMapper.h

index dcc9dc1ecf07284a9e4017c0f65e09b1fd087d6d..0c22b6e13c4a6852ff33cc83f3c5bb1a1eaf65f7 100644 (file)
@@ -200,12 +200,6 @@ public:
     OSDriver& backend,
     OSDriver::OSTransaction&& txn,
     std::map<epoch_t,mempool::osdmap::map<int64_t,snap_interval_set_t>> purged_snaps);
-  static void scrub_purged_snaps(
-    CephContext *cct,
-    ObjectStore *store,
-    ObjectStore::CollectionHandle& ch,
-    ghobject_t mapper_hoid,
-    ghobject_t purged_snaps_hoid);
 
 private:
   static int _lookup_purged_snap(