From 643714ff96cf57024d1254aeb0158335552ccaa3 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 9 Feb 2018 16:00:10 -0600 Subject: [PATCH] osd/PG: drop unused activate() context list arg Signed-off-by: Sage Weil --- src/osd/PG.cc | 3 --- src/osd/PG.h | 1 - 2 files changed, 4 deletions(-) diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 9c7abe989217c..c9b533cbf247e 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -1753,7 +1753,6 @@ void PG::build_might_have_unfound() void PG::activate(ObjectStore::Transaction& t, epoch_t activation_epoch, - list& tfin, map >& query_map, mapstart_flush(context< RecoveryMachine >().get_cur_transaction()); pg->activate(*context< RecoveryMachine >().get_cur_transaction(), pg->get_osdmap()->get_epoch(), - *context< RecoveryMachine >().get_on_safe_context_list(), *context< RecoveryMachine >().get_query_map(), context< RecoveryMachine >().get_info_map(), context< RecoveryMachine >().get_recovery_ctx()); @@ -8241,7 +8239,6 @@ boost::statechart::result PG::RecoveryState::ReplicaActive::react( map > query_map; pg->activate(*context< RecoveryMachine >().get_cur_transaction(), actevt.activation_epoch, - *context< RecoveryMachine >().get_on_safe_context_list(), query_map, NULL, NULL); ldout(pg->cct, 10) << "Activate Finished" << dendl; return discard_event(); diff --git a/src/osd/PG.h b/src/osd/PG.h index b269065acaf90..de0e8b83289ef 100644 --- a/src/osd/PG.h +++ b/src/osd/PG.h @@ -1469,7 +1469,6 @@ protected: void activate( ObjectStore::Transaction& t, epoch_t activation_epoch, - list& tfin, map >& query_map, map > > *activator_map, -- 2.39.5