]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common: add missing locks in config_proxy methods
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 21 Sep 2023 02:00:03 +0000 (22:00 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 6 Nov 2023 20:28:43 +0000 (15:28 -0500)
commitbe96d42d451c744c6f7c7f792edab8e49f518cd3
tree6bad6a742da9bc0131af2c7e476f50e0eccb0b37
parent145e0a066e107c8b18fc260332c45685af862833
common: add missing locks in config_proxy methods

It's not generally safe to access the md_config_t without these locks. Some
methods are probably harmless (accessing read-only state) but best to be
consistent.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 7b5076bafeb8981cd809437ee04fc570857a05f4)
src/common/config_proxy.h