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: v14.0.0~7^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bb357062853cc225fd7489eba9a70aa7ec7226e3;p=ceph.git librbd: clones should not inherit implicit feature bits from parent Signed-off-by: Jason Dillaman --- diff --git a/src/librbd/image/CloneRequest.cc b/src/librbd/image/CloneRequest.cc index 5952a51218e..66f69115e32 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;