Whamcloud - gitweb
Branch HEAD
authoradilger <adilger>
Wed, 22 Oct 2008 21:04:39 +0000 (21:04 +0000)
committeradilger <adilger>
Wed, 22 Oct 2008 21:04:39 +0000 (21:04 +0000)
commit86b66283b0bf6a9869e76a33e8ed053484b3910d
tree283d76bb5ef733c85377e80a2181f17a7535c6fe
parentecd4ceb286a4949f0b90f3413481fb51f662b892
Branch HEAD
The infiniband code includes its own lockdep compatibility code and this
#defines lockdep_set_class but doesn't include mutex_lock_nested() or
down_write_nested(), causing a compiler error in obdclass/llog_cat.c.

mutex_{un,}lock_nested() and down_{read,write}_nested() are functions
under CONFIG_DEBUG_LOCK_ALLOC, but #defined to regular locks without
CONFIG_DEBUG_LOCK_ALLOC so just checking #ifndef isn't sufficient.
b=16450
libcfs/include/libcfs/linux/linux-lock.h