]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/: assert in HitSet constructor if type is TYPE_NONE as well
authorSamuel Just <sjust@redhat.com>
Tue, 22 Sep 2015 18:13:44 +0000 (11:13 -0700)
committerKefu Chai <kchai@redhat.com>
Fri, 9 Oct 2015 10:22:45 +0000 (03:22 -0700)
commitab3877dd566f3951e76abaa6b7deeb5835a512b1
tree2ccefe03f40156f8559d1bf7749bf00b03740b2f
parent4fe07b7f69321535a985958fc761a54cb71136f6
osd/: assert in HitSet constructor if type is TYPE_NONE as well

Otherwise impl is unpopulated and we risk segfaults in several
methods.  It also seems like it would always indicate a bug.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 8e5a801b43babf751b619ed9606d7be7e5b12837)
src/osd/HitSet.cc