| 94 | |
| 95 | template <typename I> |
| 96 | void LoadRequest<I>::load() { |
| 97 | ldout(m_image_ctx->cct, 20) << "format_idx=" << m_format_idx << dendl; |
| 98 | |
| 99 | m_detected_format_name = ""; |
| 100 | auto ctx = create_context_callback< |
| 101 | LoadRequest<I>, &LoadRequest<I>::handle_load>(this); |
| 102 | m_formats[m_format_idx]->load(m_current_image_ctx, &m_detected_format_name, |
| 103 | ctx); |
| 104 | } |
| 105 | |
| 106 | template <typename I> |
| 107 | void LoadRequest<I>::handle_load(int r) { |
no outgoing calls
no test coverage detected