mirror of
https://github.com/ceph/ceph
synced 2025-01-19 17:41:39 +00:00
common/map_cacher.hpp: assert(0) -> ceph_abort()
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
This commit is contained in:
parent
71ef0cbd8e
commit
ac2cc22728
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user