From bb357062853cc225fd7489eba9a70aa7ec7226e3 Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Thu, 24 May 2018 15:25:45 -0400 Subject: [PATCH] librbd: clones should not inherit implicit feature bits from parent Signed-off-by: Jason Dillaman --- src/librbd/image/CloneRequest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librbd/image/CloneRequest.cc b/src/librbd/image/CloneRequest.cc index 5952a51218e66..66f69115e32b2 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; -- 2.39.5