diff options
author | Greg Farnum <gregory.farnum@dreamhost.com> | 2012-02-27 14:49:18 -0800 |
---|---|---|
committer | Greg Farnum <gregory.farnum@dreamhost.com> | 2012-02-27 14:49:34 -0800 |
commit | 244b70296622906f01cfa3d48c931aa08e663a75 (patch) | |
tree | e3ae21eba10b2d8320848377fadf613d441470a6 | |
parent | ee4d99099f46b369adf697ccc5383fdf2b841c50 (diff) | |
download | ceph-244b70296622906f01cfa3d48c931aa08e663a75.tar.gz |
pg: use get_cluster_inst instead of get_inst in activate
This was mistakenly broken in 4b3bb5ab37a05fa001d59f24da7d9c30d650321b
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
Reviewed-by: Sam Just <sam.just@dreamhost.com>
-rw-r--r-- | src/osd/PG.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 42948f04718..968a45b8012 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -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()) { |