NetLabel: Remove unneeded RCU read locks
authorPaul Moore <paul.moore@hp.com>
Tue, 29 Jan 2008 13:37:52 +0000 (08:37 -0500)
committerJames Morris <jmorris@namei.org>
Tue, 29 Jan 2008 21:17:16 +0000 (08:17 +1100)
This patch removes some unneeded RCU read locks as we can treat the reads as
"safe" even without RCU.  It also converts the NetLabel configuration refcount
from a spinlock protected u32 into atomic_t to be more consistent with the rest
of the kernel.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>

No differences found