]> git.apps.os.sepia.ceph.com Git - ceph.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:25:21 +0000 (20:25 +0200)
commit6d42d18e112fe09ea72e14de69ff5cd2afd6a56c
tree7ff25bf3a2ae7fa3973ef929d9e0756a94e11805
parent8bd3063197d21d145bd417b5d2074e2fe322eb3e
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