]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
config: skip lockdep for intentionally recursive md_config_t lock 5814/head
authorJosh Durgin <jdurgin@redhat.com>
Mon, 24 Aug 2015 22:40:39 +0000 (15:40 -0700)
committerNathan Cutler <ncutler@suse.com>
Fri, 4 Sep 2015 15:27:29 +0000 (17:27 +0200)
commit2c2ffa1d6d1112dbf52cbbe36f4a5376e17da56a
tree79fa44ad38d1b3be3afcb8c3853da76051855115
parent49d416e6e2e2f3e1f317978371089f9d92358642
config: skip lockdep for intentionally recursive md_config_t lock

lockdep can't handle recursive locks, resulting in false positive
reports for certain set_val_or_die() calls, like via
md_config_t::parse_argv() passed "-m".

Fixes: #12614
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
(cherry picked from commit 415226995ebe841cc9e8639a3233150a75aecaed)
src/common/config.cc