]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common/lockdep: disable lockdep if !CEPH_DEBUG_MUTEX
authorKefu Chai <kchai@redhat.com>
Fri, 12 Mar 2021 13:12:08 +0000 (21:12 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 13 Mar 2021 03:34:34 +0000 (11:34 +0800)
commit8102981e17d3bb27ca0f40e8f37a496fdb50bb58
tree2038a6f2189f40923e00f698d875c36a61abab01
parentf42cebe9deb0a8ea22e5765f68c96a92c46231b8
common/lockdep: disable lockdep if !CEPH_DEBUG_MUTEX

make lockdep a feature which can only be enabled at compile time.

we don't need to have lockdep when CEPH_DEBUG_MUTEX is OFF, so
just comment it out in Release builds.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/lockdep.h