| 47 | const char *__ceph_plugin_version() { return CEPH_GIT_NICE_VER; } |
| 48 | |
| 49 | int __ceph_plugin_init(CephContext *cct, |
| 50 | const std::string& type, |
| 51 | const std::string& name) |
| 52 | { |
| 53 | auto plg = new ExtBlkDevPluginVdo(cct); |
| 54 | if(plg == 0) return -ENOMEM; |
| 55 | int rc = cct->get_plugin_registry()->add(type, name, plg); |
| 56 | if(rc != 0){ |
| 57 | delete plg; |
| 58 | } |
| 59 | return rc; |
| 60 | } |
nothing calls this directly
no test coverage detected