mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
mds: don't join on thread which has not been runned.
Fixes: #10550 Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
This commit is contained in:
parent
84c2c25dbe
commit
1e236a3769
@ -2990,7 +2990,8 @@ void MDS::ProgressThread::shutdown()
|
||||
stopping = true;
|
||||
cond.Signal();
|
||||
mds->mds_lock.Unlock();
|
||||
join();
|
||||
if (is_started())
|
||||
join();
|
||||
mds->mds_lock.Lock();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user