]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
PG: use PGRef in QueuePeeringEvt
authorSamuel Just <sam.just@inktank.com>
Fri, 19 Apr 2013 00:41:48 +0000 (17:41 -0700)
committerSamuel Just <sam.just@inktank.com>
Fri, 19 Apr 2013 18:00:21 +0000 (11:00 -0700)
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/PG.h

index 3e86dd9f66d54ed4de814855c5f038c1b76884a4..716ac2b346a1cdece132bd0eb7b016a609f8b5f1 100644 (file)
@@ -1063,7 +1063,7 @@ public:
 
   template <class EVT>
   struct QueuePeeringEvt : Context {
-    boost::intrusive_ptr<PG> pg;
+    PGRef pg;
     epoch_t epoch;
     EVT evt;
     QueuePeeringEvt(PG *pg, epoch_t epoch, EVT evt) :