From 61fca96c29104683da74c913cfbf4005ba95cf77 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 21 Nov 2016 23:37:31 -0500 Subject: assert(0) -> ceph_abort() Signed-off-by: Sage Weil --- src/mds/MDSContext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mds/MDSContext.h') diff --git a/src/mds/MDSContext.h b/src/mds/MDSContext.h index 1f46510b86f..e021906463a 100644 --- a/src/mds/MDSContext.h +++ b/src/mds/MDSContext.h @@ -133,7 +133,7 @@ public: */ class C_MDSInternalNoop : public MDSInternalContextBase { - virtual MDSRank* get_mds() {assert(0);} + virtual MDSRank* get_mds() {ceph_abort();} public: void finish(int r) {} void complete(int r) {} -- cgit v1.2.3