osd/PG: rm unused parameter in calc_ec_acting

Signed-off-by: yang.wang <yang.wang@easystack.cn>
This commit is contained in:
kungf 2017-08-28 20:31:27 +08:00 committed by yang.wang
parent fb795f556a
commit b47f21f78f
2 changed files with 0 additions and 6 deletions

4
src/osd/PG.cc Normal file → Executable file
View File

@ -1125,9 +1125,7 @@ void PG::calc_ec_acting(
map<pg_shard_t, pg_info_t>::const_iterator auth_log_shard,
unsigned size,
const vector<int> &acting,
pg_shard_t acting_primary,
const vector<int> &up,
pg_shard_t up_primary,
const map<pg_shard_t, pg_info_t> &all_info,
bool restrict_to_up_acting,
vector<int> *_want,
@ -1410,9 +1408,7 @@ bool PG::choose_acting(pg_shard_t &auth_log_shard_id,
auth_log_shard,
get_osdmap()->get_pg_size(info.pgid.pgid),
acting,
primary,
up,
up_primary,
all_info,
restrict_to_up_acting,
&want,

2
src/osd/PG.h Normal file → Executable file
View File

@ -1089,9 +1089,7 @@ public:
map<pg_shard_t, pg_info_t>::const_iterator auth_log_shard,
unsigned size,
const vector<int> &acting,
pg_shard_t acting_primary,
const vector<int> &up,
pg_shard_t up_primary,
const map<pg_shard_t, pg_info_t> &all_info,
bool restrict_to_up_acting,
vector<int> *want,