| 727 | |
| 728 | template<typename I> |
| 729 | void CreateRequest<I>::remove_object_map() { |
| 730 | if ((m_features & RBD_FEATURE_OBJECT_MAP) == 0) { |
| 731 | remove_header_object(); |
| 732 | return; |
| 733 | } |
| 734 | |
| 735 | ldout(m_cct, 15) << dendl; |
| 736 | |
| 737 | using klass = CreateRequest<I>; |
| 738 | librados::AioCompletion *comp = |
| 739 | create_rados_callback<klass, &klass::handle_remove_object_map>(this); |
| 740 | int r = m_io_ctx.aio_remove(m_objmap_name, comp); |
| 741 | ceph_assert(r == 0); |
| 742 | comp->release(); |
| 743 | } |
| 744 | |
| 745 | template<typename I> |
| 746 | void CreateRequest<I>::handle_remove_object_map(int r) { |
nothing calls this directly
no test coverage detected