summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2013-06-17 14:54:51 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-06-17 22:53:01 (GMT)
commit2537af9dcabbdd6c93c041a955d3a9ae42c0c008 (patch)
tree5130503fa11ba0c7ec74174165ba332ed513b88a /kernel
parent126c0524648631a0f6fba4d016586b236209fe6f (diff)
downloadlinux-2537af9dcabbdd6c93c041a955d3a9ae42c0c008.tar.xz
tipc: remove dev_base_lock use from enable_bearer
Convert enable_bearer() to RCU locking with dev_get_by_name(). Based on a similar changeset in commit 840a185d ["aoe: remove dev_base_lock use from aoecmd_cfg_pkts()"] -- quoting that: "dev_base_lock is the legacy way to lock the device list, and is planned to disappear. (writers hold RTNL, readers hold RCU lock)" Signed-off-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions