summaryrefslogtreecommitdiffstats
path: root/security/selinux/include/avc.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-04-25 20:01:36 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-04-26 03:14:10 +0200
commit1879fd6a26571fd4e8e1f4bb3e7537bc936b1fe7 (patch)
tree5fb41fdaef01d462ff9c7ecfe688760a44e89b6a /security/selinux/include/avc.h
parentbit_spinlock: don't play preemption games inside the busy loop (diff)
downloadlinux-1879fd6a26571fd4e8e1f4bb3e7537bc936b1fe7.tar.xz
linux-1879fd6a26571fd4e8e1f4bb3e7537bc936b1fe7.zip
add hlist_bl_lock/unlock helpers
Now that the whole dcache_hash_bucket crap is gone, go all the way and also remove the weird locking layering violations for locking the hash buckets. Add hlist_bl_lock/unlock helpers to move the locking into the list abstraction instead of requiring each caller to open code it. After all allowing for the bit locks is the whole point of these helpers over the plain hlist variant. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions