| 544 | const char *__ceph_plugin_version() { return CEPH_GIT_NICE_VER; } |
| 545 | |
| 546 | int __ceph_plugin_init(CephContext *cct, |
| 547 | const std::string& type, |
| 548 | const std::string& name) |
| 549 | { |
| 550 | auto plg=new ExtBlkDevPluginFcm(cct); |
| 551 | if(plg==0) return -ENOMEM; |
| 552 | int rc=cct->get_plugin_registry()->add(type, name, plg); |
| 553 | if(rc!=0){ |
| 554 | delete plg; |
| 555 | } |
| 556 | return rc; |
| 557 | } |
nothing calls this directly
no test coverage detected