]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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>
Wed, 8 Nov 2023 18:43:48 +0000 (13:43 -0500)
commit6792c970f4cacb8f5acdf8503849120d601b8ea8
treea6ec243e71baf3b165da57869b9bf91f8fabb1c1
parent2fe7595e025eca0e6f49efcb77b87a7fc9182ebf
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