]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NetLabel]: correct usage of RCU locking
authorPaul Moore <paul.moore@hp.com>
Fri, 26 Oct 2007 11:29:08 +0000 (04:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Oct 2007 11:29:08 +0000 (04:29 -0700)
commit4be2700fb7b95f2a7cef9324879cafccab8774fc
tree8e3839c4e1c23c7d2b105f9ea45fb0891e3f0312
parent94d3b1e586f6d4c7150501bde284c544ce99073c
[NetLabel]: correct usage of RCU locking

This fixes some awkward, and perhaps even problematic, RCU lock usage in the
NetLabel code as well as some other related trivial cleanups found when
looking through the RCU locking.  Most of the changes involve removing the
redundant RCU read locks wrapping spinlocks in the case of a RCU writer.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/cipso_ipv4.c
net/netlabel/netlabel_domainhash.c
net/netlabel/netlabel_mgmt.c
net/netlabel/netlabel_unlabeled.c