]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
buffer: don't invalidate crc cache of new ptr before zeroing it 9414/head
authorPiotr Dałek <git@predictor.org.pl>
Tue, 31 May 2016 19:42:00 +0000 (21:42 +0200)
committerPiotr Dałek <git@predictor.org.pl>
Tue, 31 May 2016 19:42:00 +0000 (21:42 +0200)
commitd373b8522c4efb8cb954579a8bb626c2a7b9ba7c
tree9611abb66f4a3827d39ffe48b34ec2ba95440fe1
parentfa1dc125c76cefc0a180c9a273a2575022eb2d73
buffer: don't invalidate crc cache of new ptr before zeroing it

When doing append_zero, we create new bufferptr and then zero it.
Don't invalidate internal crc cache, because at this point it's
empty anyway.

Signed-off-by: Piotr Dałek <git@predictor.org.pl>
src/common/buffer.cc