From: Li Wang Date: Sat, 30 Sep 2017 02:35:31 +0000 (+0000) Subject: rbd_replay: assert(false)->ceph_abort() X-Git-Tag: v13.0.1~675^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=749e640dd7992fb4d1b9a0905d63d814bf86fb44;p=ceph.git rbd_replay: assert(false)->ceph_abort() Signed-off-by: Li Wang --- diff --git a/src/rbd_replay/ActionTypes.cc b/src/rbd_replay/ActionTypes.cc index eed19fcec1ae..6b0d584caab4 100644 --- a/src/rbd_replay/ActionTypes.cc +++ b/src/rbd_replay/ActionTypes.cc @@ -30,7 +30,7 @@ void decode_big_endian_string(std::string &str, bufferlist::iterator &it) { str.clear(); it.copy(length, str); #else - assert(false); + ceph_abort(); #endif } @@ -245,7 +245,7 @@ void AioOpenImageAction::dump(Formatter *f) const { } void UnknownAction::encode(bufferlist &bl) const { - assert(false); + ceph_abort(); } void UnknownAction::decode(__u8 version, bufferlist::iterator &it) {