MCPcopy Create free account
hub / github.com/ceph/ceph / osdcode

Function osdcode

src/osdc/Objecter.cc:200–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198
199namespace {
200inline bs::error_code osdcode(int r) {
201 return (r < 0) ? bs::error_code(-r, osd_category()) : bs::error_code();
202}
203}
204
205// config obs ----------------------------

Callers 8

handle_watch_notifyMethod · 0.70
_op_cancelMethod · 0.70
op_cancel_writesMethod · 0.70
complete_op_replyMethod · 0.70
pool_op_cancelMethod · 0.70
pool_stat_op_cancelMethod · 0.70
statfs_op_cancelMethod · 0.70

Calls 1

error_codeClass · 0.50

Tested by

no test coverage detected