]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph_dedup_tool: fix threshold comparison 45369/head
authormyoungwon oh <ohmyoungwon@gmail.com>
Sat, 17 Sep 2022 07:11:49 +0000 (16:11 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Mon, 19 Sep 2022 04:22:16 +0000 (13:22 +0900)
commite7ca6d0276a4550aea09c88ed62308456bf3c81a
tree1a5515022dd2b3ec8a0783b3ce7cbbba6e25e517
parentdf71ca5592accf2d4681e6570d7e8af41160a0f0
ceph_dedup_tool: fix threshold comparison

If threadhold count is 2, existing code always returns true
even though reference count is 1 actually  because it additionally
adds one via ++.

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
src/tools/ceph_dedup_tool.cc