]> git.baikalelectronics.ru Git - kernel.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)
commit985aebaf8377767b90f05c642eaae8177788ee73
tree8e3839c4e1c23c7d2b105f9ea45fb0891e3f0312
parent0a352e901ea35159fe186a7f5f85d5e3f08fddb3
[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