diff options
author | Sage Weil <sage@redhat.com> | 2016-11-22 05:37:31 +0100 |
---|---|---|
committer | Sage Weil <sage@redhat.com> | 2016-11-22 05:37:31 +0100 |
commit | 61fca96c29104683da74c913cfbf4005ba95cf77 (patch) | |
tree | fb949e5731066442cc63071afba371dcf7e2c86e /src/mds/MDSContext.h | |
parent | Merge pull request #11993 from ceph/wip-17809 (diff) | |
download | ceph-61fca96c29104683da74c913cfbf4005ba95cf77.tar.xz ceph-61fca96c29104683da74c913cfbf4005ba95cf77.zip |
assert(0) -> ceph_abort()
Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'src/mds/MDSContext.h')
-rw-r--r-- | src/mds/MDSContext.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) {} |