From: Jason Dillaman Date: Thu, 24 May 2018 19:25:45 +0000 (-0400) Subject: librbd: clones should not inherit implicit feature bits from parent X-Git-Tag: v13.2.0~10^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ca9fc57da67539bc8d7682a5a29c3d0368e23beb;p=ceph.git librbd: clones should not inherit implicit feature bits from parent Signed-off-by: Jason Dillaman (cherry picked from commit bb357062853cc225fd7489eba9a70aa7ec7226e3) --- diff --git a/src/librbd/image/CloneRequest.cc b/src/librbd/image/CloneRequest.cc index fa4b62e4714f..0fb78ec8e570 100644 --- a/src/librbd/image/CloneRequest.cc +++ b/src/librbd/image/CloneRequest.cc @@ -193,7 +193,7 @@ void CloneRequest::send_create() { ldout(m_cct, 20) << this << " " << __func__ << dendl; if (m_use_p_features) { - m_features = m_p_features; + m_features = (m_p_features & ~RBD_FEATURES_IMPLICIT_ENABLE); } uint64_t order = m_p_imctx->order;