]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
lockdep: code cleanup and de-globalization
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Fri, 10 Jun 2011 19:35:25 +0000 (12:35 -0700)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Mon, 20 Jun 2011 23:22:24 +0000 (16:22 -0700)
commitd80b331f34f95d4aed7f5b75b9fc2f68b581ac70
treebd5dfe0802be664e054fafd3e7c3706197e37ade
parent823eb2670a6ee4e3eefd7a2a8d280b6c8e4c591d
lockdep: code cleanup and de-globalization

common/Mutex.cc: this is a duplicate of the code in common/lockdep.cc.
Delete the duplicate code.

common/lockdep.cc: require the programmer to register a CephContext to
use with lockdep. If we don't have one, we don't print anything out.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
src/common/Mutex.cc [deleted file]
src/common/Mutex.h
src/common/lockdep.cc