summaryrefslogtreecommitdiffstats
path: root/src/include/buffer.h
diff options
context:
space:
mode:
authorSage Weil <sage@redhat.com>2017-05-08 20:50:43 +0200
committerSage Weil <sage@redhat.com>2017-05-31 20:47:28 +0200
commit6cd6a513ca9a2f34f233086080df1fb2138f1a51 (patch)
treecf491520dd4708ebbd524a1883abb572444a8dc3 /src/include/buffer.h
parentmempool: kill unittest_? mempools (diff)
downloadceph-6cd6a513ca9a2f34f233086080df1fb2138f1a51.tar.xz
ceph-6cd6a513ca9a2f34f233086080df1fb2138f1a51.zip
buffer: fix mempool accounting for claimed chars
These are allocated by the caller, outside of the mempool; do not deallocate via the mempool. Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to '')
-rw-r--r--src/include/buffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/buffer.h b/src/include/buffer.h
index 31705f84c2e..9a79f1fe6a2 100644
--- a/src/include/buffer.h
+++ b/src/include/buffer.h
@@ -136,6 +136,7 @@ namespace buffer CEPH_BUFFER_API {
class raw_posix_aligned;
class raw_hack_aligned;
class raw_char;
+ class raw_claimed_char;
class raw_pipe;
class raw_unshareable; // diagnostic, unshareable char buffer
class raw_combined;