]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
common/map_cacher.hpp: assert(0) -> ceph_abort()
authorLi Wang <li.wang@kylin-cloud.com>
Tue, 6 Dec 2016 08:28:18 +0000 (08:28 +0000)
committerLi Wang <li.wang@kylin-cloud.com>
Tue, 6 Dec 2016 08:29:04 +0000 (08:29 +0000)
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
src/common/map_cacher.hpp

index 652d0a26e3c4e6db7aaadee2c6957926ce1b4ff4..ba48c4ef99fbb1aa74de0d78ca709ae1f80a1091 100644 (file)
@@ -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