mirror of
https://github.com/ceph/ceph
synced 2025-01-29 22:43:40 +00:00
config: fix recursive lock in parse_config_files()
The _impl() helper is only called from parse_config_files(); don't retake the lock. Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
6646e891ff
commit
c73c64a0f7
@ -198,7 +198,8 @@ int md_config_t::parse_config_files(const char *conf_files,
|
||||
int md_config_t::parse_config_files_impl(const std::list<std::string> &conf_files,
|
||||
std::deque<std::string> *parse_errors)
|
||||
{
|
||||
Mutex::Locker l(lock);
|
||||
assert(lock.is_locked());
|
||||
|
||||
// open new conf
|
||||
list<string>::const_iterator c;
|
||||
for (c = conf_files.begin(); c != conf_files.end(); ++c) {
|
||||
|
Loading…
Reference in New Issue
Block a user