net: Drop pernet_operations::async
Synchronous pernet_operations are not allowed anymore. All are asynchronous. So, drop the structure member. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
094374e5e1
commit
2f635ceeb2
@@ -418,7 +418,6 @@ static void __net_exit ip_rt_do_proc_exit(struct net *net)
|
||||
static struct pernet_operations ip_rt_proc_ops __net_initdata = {
|
||||
.init = ip_rt_do_proc_init,
|
||||
.exit = ip_rt_do_proc_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init ip_rt_proc_init(void)
|
||||
@@ -3017,7 +3016,6 @@ static __net_exit void sysctl_route_net_exit(struct net *net)
|
||||
static __net_initdata struct pernet_operations sysctl_route_ops = {
|
||||
.init = sysctl_route_net_init,
|
||||
.exit = sysctl_route_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -3031,7 +3029,6 @@ static __net_init int rt_genid_init(struct net *net)
|
||||
|
||||
static __net_initdata struct pernet_operations rt_genid_ops = {
|
||||
.init = rt_genid_init,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __net_init ipv4_inetpeer_init(struct net *net)
|
||||
@@ -3057,7 +3054,6 @@ static void __net_exit ipv4_inetpeer_exit(struct net *net)
|
||||
static __net_initdata struct pernet_operations ipv4_inetpeer_ops = {
|
||||
.init = ipv4_inetpeer_init,
|
||||
.exit = ipv4_inetpeer_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
#ifdef CONFIG_IP_ROUTE_CLASSID
|
||||
|
Reference in New Issue
Block a user