Merge branch 'rhash_prove_locking'
authorDavid S. Miller <davem@davemloft.net>
Thu, 13 Nov 2014 20:13:13 +0000 (15:13 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Nov 2014 20:13:13 +0000 (15:13 -0500)
commit9cf5476bfda3c2f1d5712d7bf09b3dad91fc2f2d
tree9e5d9d20cf30672d2db081a0de8604ad47680e49
parent9488e1e5b319751c71eebfd49027bf9e2377f38c
parent7b4ce2353467fdab6e003be7a3129fb09b09deac
Merge branch 'rhash_prove_locking'

Herbert Xu says:

====================
rhashtable: Allow local locks to be used and tested

This series moves mutex_is_held entirely under PROVE_LOCKING so
there is zero foot print when we're not debugging.  More importantly
it adds a parrent argument to mutex_is_held so that we can test
local locks rather than global ones (e.g., per-namespace locks).
====================

Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>