From 78c856c043f66fbb433cff13aee47f25a31b5e6b Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Fri, 4 Feb 2011 13:03:10 -0800 Subject: [PATCH] librbd: change bufferlist namespace --- src/include/rbd/librbd.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/include/rbd/librbd.hpp b/src/include/rbd/librbd.hpp index 3f8355f7226d..a97bd2f4cc5c 100644 --- a/src/include/rbd/librbd.hpp +++ b/src/include/rbd/librbd.hpp @@ -91,15 +91,15 @@ public: int set_snap(image_t image, const char *snap_name); /* I/O */ - int read(image_t image, off_t ofs, size_t len, bufferlist& bl); + int read(image_t image, off_t ofs, size_t len, ceph::bufferlist& bl); int read_iterate(image_t image, off_t ofs, size_t len, int (*cb)(off_t, size_t, const char *, void *), void *arg); - int write(image_t image, off_t ofs, size_t len, bufferlist& bl); + int write(image_t image, off_t ofs, size_t len, ceph::bufferlist& bl); AioCompletion *aio_create_completion(void *cb_arg, callback_t complete_cb); - int aio_write(image_t image, off_t off, size_t len, bufferlist& bl, + int aio_write(image_t image, off_t off, size_t len, ceph::bufferlist& bl, AioCompletion *c); - int aio_read(image_t image, off_t off, size_t len, bufferlist& bl, AioCompletion *c); + int aio_read(image_t image, off_t off, size_t len, ceph::bufferlist& bl, AioCompletion *c); /* lower level access */ void get_rados_pools(pool_t pool, librados::pool_t *md_pool, librados::pool_t *data_pool); -- 2.47.3