From ac2cc22728922da4608a24784d2f5fab6d1c5983 Mon Sep 17 00:00:00 2001
From: Li Wang
Date: Tue, 6 Dec 2016 08:28:18 +0000
Subject: [PATCH] common/map_cacher.hpp: assert(0) -> ceph_abort()
Signed-off-by: Li Wang
---
src/common/map_cacher.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/common/map_cacher.hpp b/src/common/map_cacher.hpp
index 652d0a26e3c..ba48c4ef99f 100644
--- a/src/common/map_cacher.hpp
+++ b/src/common/map_cacher.hpp
@@ -126,7 +126,7 @@ public:
return 0;
}
}
- assert(0); // not reachable
+ ceph_abort(); // not reachable
return -EINVAL;
} ///< @return error value, 0 on success, -ENOENT if no more entries