]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common/buffer: use bufferptr length directly for memory compare
authorChangcheng Liu <changcheng.liu@aliyun.com>
Thu, 11 Jun 2020 15:04:29 +0000 (23:04 +0800)
committerChangcheng Liu <changcheng.liu@aliyun.com>
Sun, 14 Jun 2020 04:18:31 +0000 (12:18 +0800)
commite4852e8ee8cfd984c098293962fbab92e86ff2ee
tree6bb8c5ab700131b80b739eb0258e0565c0238ce1
parent896bf9a73a3d9901544e0ed157eaffdff9d86a9e
common/buffer: use bufferptr length directly for memory compare

The input length should be equal to bufferlist length, so the round_length
is always equal to bp.length().

Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
src/common/buffer.cc