]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
buffer,crypto,osd,tools: extract digest methods out of bufferlist
authorKefu Chai <kchai@redhat.com>
Tue, 11 Jun 2019 07:47:37 +0000 (15:47 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 11 Jun 2019 10:30:19 +0000 (18:30 +0800)
commit7da903db83b2b50bf2b16624a578bb50ad1157e4
tree78a6ad7920f2980074cd2df7df0141d99fd2cbc0
parentb233e471ad35d941a515e90b2bc51989255f1380
buffer,crypto,osd,tools: extract digest methods out of bufferlist

they were consumers of ceph::list::buffers(), and there is no need to
make them member functions of ceph::list, so move them into ceph::crypto
namespace. and update the unit test and ceph_dedup_tool.cc accordingly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/buffer.cc
src/common/ceph_crypto.h
src/include/buffer.h
src/include/types.h
src/osd/PrimaryLogPG.cc
src/test/bufferlist.cc
src/test/ceph_crypto.cc
src/tools/ceph_dedup_tool.cc