summaryrefslogtreecommitdiffstats
path: root/src/include/elist.h
diff options
context:
space:
mode:
authorSage Weil <sage@redhat.com>2016-11-22 05:37:31 +0100
committerSage Weil <sage@redhat.com>2016-11-22 05:37:31 +0100
commit61fca96c29104683da74c913cfbf4005ba95cf77 (patch)
treefb949e5731066442cc63071afba371dcf7e2c86e /src/include/elist.h
parentMerge pull request #11993 from ceph/wip-17809 (diff)
downloadceph-61fca96c29104683da74c913cfbf4005ba95cf77.tar.xz
ceph-61fca96c29104683da74c913cfbf4005ba95cf77.zip
assert(0) -> ceph_abort()
Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'src/include/elist.h')
-rw-r--r--src/include/elist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/elist.h b/src/include/elist.h
index c5d0e8ac971..1bf3df8c6c8 100644
--- a/src/include/elist.h
+++ b/src/include/elist.h
@@ -170,7 +170,7 @@ public:
else if (mode == CACHE_NEXT)
cur = next;
else
- assert(0);
+ ceph_abort();
next = cur->_next;
return *this;
}