]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
lockdep: don't take lockdep_mutex twice for new lock registrations
authorJeff Layton <jlayton@redhat.com>
Thu, 14 Sep 2017 13:28:34 +0000 (09:28 -0400)
committerJeff Layton <jlayton@redhat.com>
Sat, 16 Sep 2017 11:57:04 +0000 (07:57 -0400)
commit01863bb6fb62ea89aa3e21e43bf4dc4f3da9cfcb
tree8abb9809d65c96f36dc1d02fd9483a83a157f743
parente057b6770b5545f327990cbaf17e7a391e3e8a50
lockdep: don't take lockdep_mutex twice for new lock registrations

We can do it under the same mutex, which should be more efficient.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/common/lockdep.cc