]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: replace "ceph_abort_msg()" with assert() 37131/head
authorKefu Chai <kchai@redhat.com>
Tue, 15 Sep 2020 01:55:47 +0000 (09:55 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 15 Sep 2020 08:48:27 +0000 (16:48 +0800)
commitce658a6aa768ce88ec3f4ba5afac4c4b7837272a
treeee694c07719957104bb415619dedc30bb933f8c8
parentaeb20dd2f5d757d1aa377022977d2277f4eac8ad
crimson/osd: replace "ceph_abort_msg()" with assert()

these are programming errors, and are easy to detect. also assert() does
not return, so compiler won't complain at seeing a branch does not
return value in a function that returns value.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/object_context.h