summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam C. Emerson <aemerson@redhat.com>2017-12-23 06:00:22 +0100
committerAdam C. Emerson <aemerson@redhat.com>2018-01-10 20:02:09 +0100
commit2e70bc3703d2733381d9f30824c4172a302eb81c (patch)
treec302541ee8baf849a2d7492a1429e94831be13a9
parentkv: Use unqualified encode/decode (diff)
downloadceph-2e70bc3703d2733381d9f30824c4172a302eb81c.tar.xz
ceph-2e70bc3703d2733381d9f30824c4172a302eb81c.zip
librados: Use unqualified encode/decode
This is a portion of the namespace project. Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
-rw-r--r--src/librados/IoCtxImpl.cc2
-rw-r--r--src/librados/librados.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/librados/IoCtxImpl.cc b/src/librados/IoCtxImpl.cc
index 9e3dbffdf2d..e448df27258 100644
--- a/src/librados/IoCtxImpl.cc
+++ b/src/librados/IoCtxImpl.cc
@@ -1493,7 +1493,7 @@ int librados::IoCtxImpl::mapext(const object_t& oid,
return r;
bufferlist::iterator iter = bl.begin();
- ::decode(m, iter);
+ decode(m, iter);
return m.size();
}
diff --git a/src/librados/librados.cc b/src/librados/librados.cc
index 4540f2e2cd1..329b145cd2d 100644
--- a/src/librados/librados.cc
+++ b/src/librados/librados.cc
@@ -171,7 +171,7 @@ void librados::ObjectOperation::cmpxattr(const char *name, uint8_t op, uint64_t
{
::ObjectOperation *o = &impl->o;
bufferlist bl;
- ::encode(v, bl);
+ encode(v, bl);
o->cmpxattr(name, op, CEPH_OSD_CMPXATTR_MODE_U64, bl);
}