]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ReplicatedPG: take ReplicatedPGRef in BlessedContext
authorSamuel Just <sam.just@inktank.com>
Thu, 16 Jan 2014 17:31:59 +0000 (09:31 -0800)
committerSamuel Just <sam.just@inktank.com>
Wed, 22 Jan 2014 22:39:18 +0000 (14:39 -0800)
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/ReplicatedPG.h

index 2057f7d9d79e37128a3cad34da4d0eb375c89f03..208ee40074abfa924c6dcae3dfdfdc43c6428a5d 100644 (file)
@@ -239,7 +239,7 @@ public:
 
   template <typename T>
   class BlessedGenContext : public GenContext<T> {
-    ReplicatedPG *pg;
+    ReplicatedPGRef pg;
     GenContext<T> *c;
     epoch_t e;
   public:
@@ -255,7 +255,7 @@ public:
     }
   };
   class BlessedContext : public Context {
-    ReplicatedPG *pg;
+    ReplicatedPGRef pg;
     Context *c;
     epoch_t e;
   public: