diff options
author | Sage Weil <sage@newdream.net> | 2012-02-20 14:38:20 -0800 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2012-02-20 14:38:20 -0800 |
commit | 0b7f6e397c7d598ca8b24c315a83796809546347 (patch) | |
tree | eb6f2bfaa9ddb3de2f17e7adc691ca43b8e2174c /src/global | |
parent | 443203705ceead925e9fda6f70467d394dc1f3c8 (diff) | |
download | ceph-0b7f6e397c7d598ca8b24c315a83796809546347.tar.gz |
global: resurrect lockdep
Add 'lockdep' config option, and initialize g_lockdep from that in
global_init().
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'src/global')
-rw-r--r-- | src/global/global_init.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/global/global_init.cc b/src/global/global_init.cc index 5d9fa513de3..b23ef2b4bd4 100644 --- a/src/global/global_init.cc +++ b/src/global/global_init.cc @@ -92,6 +92,8 @@ void global_init(std::vector < const char* >& args, // Expand metavariables. Invoke configuration observers. conf->apply_changes(NULL); + g_lockdep = cct->_conf->lockdep; + // Now we're ready to complain about config file parse errors complain_about_parse_errors(cct, &parse_errors); |