diff options
author | Samuel Just <sam.just@inktank.com> | 2013-04-17 13:57:50 -0700 |
---|---|---|
committer | Samuel Just <sam.just@inktank.com> | 2013-04-19 11:00:21 -0700 |
commit | 220c65127dee718f7fa773313d18cbfdeec95e30 (patch) | |
tree | a9232c5238835b82521e4ddb04b77caa9d4c7e36 | |
parent | 016e975ab969a9e656cbce7ebd658efd58fcfd50 (diff) | |
download | ceph-220c65127dee718f7fa773313d18cbfdeec95e30.tar.gz |
ReplicatedPG: add ReplicatedPGRef
Signed-off-by: Samuel Just <sam.just@inktank.com>
-rw-r--r-- | src/osd/ReplicatedPG.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osd/ReplicatedPG.h b/src/osd/ReplicatedPG.h index 377ca8656a7..cdad9dfb7d4 100644 --- a/src/osd/ReplicatedPG.h +++ b/src/osd/ReplicatedPG.h @@ -1024,4 +1024,6 @@ inline ostream& operator<<(ostream& out, ReplicatedPG::AccessMode& mode) void intrusive_ptr_add_ref(ReplicatedPG *pg); void intrusive_ptr_release(ReplicatedPG *pg); +typedef boost::intrusive_ptr<ReplicatedPG> ReplicatedPGRef; + #endif |