]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd/crypto/LoadRequest: rename m_is_current_format_cloned
authorIlya Dryomov <idryomov@gmail.com>
Mon, 16 Sep 2024 09:37:49 +0000 (11:37 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 7 Oct 2024 18:19:57 +0000 (20:19 +0200)
commit8c67d0c7f0f25abbda3d8591019897652dd63720
treeed49e2bcb7bdeee861931593143b74d3e161a540
parentb9465cb9191ac740a81f77fa6259f6f91c36b893
librbd/crypto/LoadRequest: rename m_is_current_format_cloned

Formats must also be cloned if the image is under migration, so
rename m_is_current_format_cloned to m_is_current_format_assumed to
avoid potential confusion with clone() being called in two places but
m_is_current_format_cloned being set in only one place.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 63529523f5778294fa9e447604f9d18c091b6b12)
src/librbd/crypto/LoadRequest.cc
src/librbd/crypto/LoadRequest.h