diff --git a/src/librbd/internal.cc b/src/librbd/internal.cc index 13682df4182ab..557ee27757bde 100644 --- a/src/librbd/internal.cc +++ b/src/librbd/internal.cc @@ -248,7 +248,6 @@ int mirror_image_enable(CephContext *cct, librados::IoCtx &io_ctx, if (r < 0) { lderr(cct) << "failed to send update notification: " << cpp_strerror(r) << dendl; - return r; } ldout(cct, 20) << "image mirroring is enabled: global_id=" << @@ -341,7 +340,6 @@ int mirror_image_disable_internal(ImageCtx *ictx, bool force, if (r < 0) { lderr(cct) << "failed to send update notification: " << cpp_strerror(r) << dendl; - return r; } header_oid = ::journal::Journaler::header_oid(ictx->id); @@ -3199,7 +3197,6 @@ int mirror_image_disable_internal(ImageCtx *ictx, bool force, if (r < 0) { lderr(cct) << "failed to send update notification: " << cpp_strerror(r) << dendl; - return r; } } @@ -3355,7 +3352,6 @@ int mirror_image_disable_internal(ImageCtx *ictx, bool force, if (r < 0) { lderr(cct) << "failed to send update notification: " << cpp_strerror(r) << dendl; - return r; } return 0; }