]> 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>
Thu, 3 Oct 2024 16:32:17 +0000 (18:32 +0200)
commit63529523f5778294fa9e447604f9d18c091b6b12
treec2c98ae52b346500951ff7e748caf6d060510af3
parent731cee700d4302fb4fe312686210e7d11c5c77b0
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>
src/librbd/crypto/LoadRequest.cc
src/librbd/crypto/LoadRequest.h