summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2014-03-27 12:54:38 +0800
committerDavid S. Miller <davem@davemloft.net>2014-03-27 13:08:37 -0400
commit2220646a53aa588798653232e26172ec36ab06cd (patch)
treed42b0b3357846cbd1c4fa15f94e7a671c50de84d /kernel
parent6c7a762e70637a256229f9dc9ca793908e8bd01b (diff)
downloadlinux-2220646a53aa588798653232e26172ec36ab06cd.tar.bz2
tipc: use node_list_lock to protect tipc_num_nodes variable
As tipc_node_list is protected by rcu read lock on read side, it's unnecessary to hold node_list_lock to protect tipc_node_list in tipc_node_get_links(). Instead, node_list_lock should just protects tipc_num_nodes in the function. Signed-off-by: Ying Xue <ying.xue@windriver.com> Reviewed-by: Erik Hugne <erik.hugne@ericsson.com> Reviewed-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions