]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
blk/BlockDevice: use ceph_assertf() for assert
authorKefu Chai <kchai@redhat.com>
Sat, 11 Jul 2020 17:04:19 +0000 (01:04 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 13 Jul 2020 03:19:16 +0000 (11:19 +0800)
commit6f7895fa5b6736bfcd8be2ff6dfa20ab6b4343d5
tree4bcc2b213fc714a9baa88b1129d76ea275dc755e
parent10da9f8b7e8688293bf9fe8f7e24261561aa80de
blk/BlockDevice: use ceph_assertf() for assert

also silences a warning like

src/blk/BlockDevice.cc:158:1: warning: label 'out_fail' defined but not used [-Wunused-label]
  158 | out_fail:
      | ^~~~~~~~

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/blk/BlockDevice.cc