mirror of
https://github.com/ceph/ceph
synced 2025-03-05 15:58:41 +00:00
pg: use get_cluster_inst instead of get_inst in activate
This was mistakenly broken in 4b3bb5ab37
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Reviewed-by: Sam Just <sam.just@dreamhost.com>
This commit is contained in:
parent
ee4d99099f
commit
244b702966
@ -1225,7 +1225,7 @@ void PG::activate(ObjectStore::Transaction& t, list<Context*>& tfin,
|
||||
// find out when we commit
|
||||
get(); // for callback
|
||||
tfin.push_back(new C_PG_ActivateCommitted(this, info.history.same_interval_since,
|
||||
get_osdmap()->get_inst(acting[0])));
|
||||
get_osdmap()->get_cluster_inst(acting[0])));
|
||||
|
||||
// initialize snap_trimq
|
||||
if (is_primary()) {
|
||||
|
Loading…
Reference in New Issue
Block a user