]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
lockdep: do not initialize if already started
authorSage Weil <sage@inktank.com>
Wed, 2 Apr 2014 23:46:30 +0000 (16:46 -0700)
committerSage Weil <sage@inktank.com>
Wed, 2 Apr 2014 23:46:30 +0000 (16:46 -0700)
commit7a49f3da558c663d57928231ffb0c633d0b4e79c
treea0f65c40c36cb1ebaa235114d88e18cc92768d13
parenteae5a37779f2390d30913af579c2e0d324460159
lockdep: do not initialize if already started

If we have already registered a cct for lockdep, do not accept another one.
We already check that the cct matches when we shut down.  This we will run
for the life span of a single cct and no longer.

Fixes: #7965
Signed-off-by: Sage Weil <sage@inktank.com>
src/common/lockdep.cc
src/global/global_init.cc