From 749e640dd7992fb4d1b9a0905d63d814bf86fb44 Mon Sep 17 00:00:00 2001 From: Li Wang Date: Sat, 30 Sep 2017 02:35:31 +0000 Subject: [PATCH] rbd_replay: assert(false)->ceph_abort() Signed-off-by: Li Wang --- src/rbd_replay/ActionTypes.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rbd_replay/ActionTypes.cc b/src/rbd_replay/ActionTypes.cc index eed19fcec1ae3..6b0d584caab45 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) { -- 2.39.5