summaryrefslogtreecommitdiffstats
path: root/include/linux/rtnetlink.h
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-03-27 18:02:23 +0300
committerDavid S. Miller <davem@davemloft.net>2018-03-27 13:18:09 -0400
commit4420bf21fb6c0306e36ad58ade1e741fba57ce65 (patch)
treefe1ebcb72cf4928379578f514b86309e25b6eda6 /include/linux/rtnetlink.h
parent2f635ceeb22ba13c307236d69795fbb29cfa3e7c (diff)
downloadlinux-stable-4420bf21fb6c0306e36ad58ade1e741fba57ce65.tar.gz
linux-stable-4420bf21fb6c0306e36ad58ade1e741fba57ce65.tar.bz2
linux-stable-4420bf21fb6c0306e36ad58ade1e741fba57ce65.zip
net: Rename net_sem to pernet_ops_rwsem
net_sem is some undefined area name, so it will be better to make the area more defined. Rename it to pernet_ops_rwsem for better readability and better intelligibility. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/rtnetlink.h')
-rw-r--r--include/linux/rtnetlink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h
index 562a175c35a9..c7d1e4689325 100644
--- a/include/linux/rtnetlink.h
+++ b/include/linux/rtnetlink.h
@@ -36,7 +36,7 @@ extern int rtnl_is_locked(void);
extern int rtnl_lock_killable(void);
extern wait_queue_head_t netdev_unregistering_wq;
-extern struct rw_semaphore net_sem;
+extern struct rw_semaphore pernet_ops_rwsem;
#ifdef CONFIG_PROVE_LOCKING
extern bool lockdep_rtnl_is_held(void);