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:
Greg Farnum 2012-02-27 14:49:18 -08:00
parent ee4d99099f
commit 244b702966

View File

@ -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()) {