diff options
author | Jon Paul Maloy <jon.maloy@ericsson.com> | 2014-03-12 19:31:07 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-12 23:53:49 +0400 |
commit | 978813ee89674fdb6bb6585153166b7603173cd2 (patch) | |
tree | d16551ae5c001a6899e2adca92df007e1b397914 /net/tipc/socket.c | |
parent | 4a93f5095a628d812b0b30c16d7bacea1efd783c (diff) | |
download | linux-978813ee89674fdb6bb6585153166b7603173cd2.tar.xz |
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>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions