]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
buffer: add advance(unsigned) back 11993/head
authorKefu Chai <kchai@redhat.com>
Tue, 15 Nov 2016 16:18:37 +0000 (00:18 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 15 Nov 2016 16:18:37 +0000 (00:18 +0800)
commit77b244fd8e0513be77e701f620c1edf9a9237cc5
tree3a6800dbea2261360e6f6c9d1cd83999623f7bc1
parent004ae597bb71473d55b802b9a59aca516f285135
buffer: add advance(unsigned) back

advance(unsigned) and seek(int) were replaced with advance(size_t> and
seek(ssize_t) in 053bfa6. this change broke the backward compatibility
of librados/librbd's ABI.

- deprecates advance(unsigned) and seek(int)
- update the callers to use the prefered versions.

Fixes: http://tracker.ceph.com/issues/17809
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/buffer.cc
src/include/buffer.h