]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
tipc: replace reference table rwlock with spinlock
authorJon Paul Maloy <jon.maloy@ericsson.com>
Wed, 12 Mar 2014 15:31:07 +0000 (11:31 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Mar 2014 19:53:49 +0000 (15:53 -0400)
commit978813ee89674fdb6bb6585153166b7603173cd2
treed16551ae5c001a6899e2adca92df007e1b397914
parent4a93f5095a628d812b0b30c16d7bacea1efd783c
tipc: replace reference table rwlock with spinlock

The lock for protecting the reference table is declared as an
RWLOCK, although it is only used in write mode, never in read
mode.

We redefine it to become a spinlock.

Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Reviewed-by: Ying Xue <ying.xue@windriver.com>
Reviewed-by: Erik Hugne <erik.hugne@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/ref.c