Fix build without RDMA

This commit is contained in:
Vitaliy Filippov
2021-05-08 18:20:43 +03:00
parent caf2f3c56f
commit 6b2dd50f27
+2
View File
@@ -516,10 +516,12 @@ void osd_messenger_t::accept_connections(int listen_fd)
}
}
#ifdef WITH_RDMA
bool osd_messenger_t::is_rdma_enabled()
{
return rdma_context != NULL;
}
#endif
json11::Json osd_messenger_t::read_config(const json11::Json & config)
{