]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
buffer: add iterator::get_bl()
authorSage Weil <sage@redhat.com>
Thu, 21 Aug 2014 04:32:11 +0000 (21:32 -0700)
committerSage Weil <sage@redhat.com>
Mon, 10 Nov 2014 22:20:25 +0000 (14:20 -0800)
Signed-off-by: Sage Weil <sage@redhat.com>
src/include/buffer.h

index 3cd0a7a19a0727447bd6f9d7bf3de16a86a31674..7bff8c704b4a8743553674203e1cd84f5a6795b8 100644 (file)
@@ -297,6 +297,8 @@ public:
       iterator& operator++();
       ptr get_current_ptr();
 
+      list& get_bl() { return *bl; }
+
       // copy data out.
       // note that these all _append_ to dest!
       void copy(unsigned len, char *dest);