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
@@ -4282,7 +4282,6 @@ static void __net_exit if6_proc_net_exit(struct net *net)
|
||||
static struct pernet_operations if6_proc_net_ops = {
|
||||
.init = if6_proc_net_init,
|
||||
.exit = if6_proc_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
int __init if6_proc_init(void)
|
||||
@@ -6592,7 +6591,6 @@ static void __net_exit addrconf_exit_net(struct net *net)
|
||||
static struct pernet_operations addrconf_ops = {
|
||||
.init = addrconf_init_net,
|
||||
.exit = addrconf_exit_net,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static struct rtnl_af_ops inet6_ops __read_mostly = {
|
||||
|
||||
@@ -344,7 +344,6 @@ static void __net_exit ip6addrlbl_net_exit(struct net *net)
|
||||
static struct pernet_operations ipv6_addr_label_ops = {
|
||||
.init = ip6addrlbl_net_init,
|
||||
.exit = ip6addrlbl_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
int __init ipv6_addr_label_init(void)
|
||||
|
||||
@@ -857,7 +857,6 @@ static void __net_exit inet6_net_exit(struct net *net)
|
||||
static struct pernet_operations inet6_net_ops = {
|
||||
.init = inet6_net_init,
|
||||
.exit = inet6_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static const struct ipv6_stub ipv6_stub_impl = {
|
||||
|
||||
@@ -397,7 +397,6 @@ static void __net_exit fib6_rules_net_exit(struct net *net)
|
||||
static struct pernet_operations fib6_rules_net_ops = {
|
||||
.init = fib6_rules_net_init,
|
||||
.exit = fib6_rules_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
int __init fib6_rules_init(void)
|
||||
|
||||
@@ -998,7 +998,6 @@ static void __net_exit icmpv6_sk_exit(struct net *net)
|
||||
static struct pernet_operations icmpv6_sk_ops = {
|
||||
.init = icmpv6_sk_init,
|
||||
.exit = icmpv6_sk_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
int __init icmpv6_init(void)
|
||||
|
||||
@@ -613,7 +613,6 @@ static struct pernet_operations ila_net_ops = {
|
||||
.exit = ila_exit_net,
|
||||
.id = &ila_net_id,
|
||||
.size = sizeof(struct ila_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int ila_xlat_addr(struct sk_buff *skb, bool sir2ila)
|
||||
|
||||
@@ -2161,7 +2161,6 @@ static void fib6_net_exit(struct net *net)
|
||||
static struct pernet_operations fib6_net_ops = {
|
||||
.init = fib6_net_init,
|
||||
.exit = fib6_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
int __init fib6_init(void)
|
||||
|
||||
@@ -873,7 +873,6 @@ static void __net_exit ip6_flowlabel_net_exit(struct net *net)
|
||||
static struct pernet_operations ip6_flowlabel_net_ops = {
|
||||
.init = ip6_flowlabel_proc_init,
|
||||
.exit = ip6_flowlabel_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
int ip6_flowlabel_init(void)
|
||||
|
||||
@@ -1528,7 +1528,6 @@ static struct pernet_operations ip6gre_net_ops = {
|
||||
.exit_batch = ip6gre_exit_batch_net,
|
||||
.id = &ip6gre_net_id,
|
||||
.size = sizeof(struct ip6gre_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int ip6gre_tunnel_validate(struct nlattr *tb[], struct nlattr *data[],
|
||||
|
||||
@@ -2260,7 +2260,6 @@ static struct pernet_operations ip6_tnl_net_ops = {
|
||||
.exit_batch = ip6_tnl_exit_batch_net,
|
||||
.id = &ip6_tnl_net_id,
|
||||
.size = sizeof(struct ip6_tnl_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -1148,7 +1148,6 @@ static struct pernet_operations vti6_net_ops = {
|
||||
.exit_batch = vti6_exit_batch_net,
|
||||
.id = &vti6_net_id,
|
||||
.size = sizeof(struct vti6_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static struct xfrm6_protocol vti_esp6_protocol __read_mostly = {
|
||||
|
||||
@@ -1348,7 +1348,6 @@ static void __net_exit ip6mr_net_exit(struct net *net)
|
||||
static struct pernet_operations ip6mr_net_ops = {
|
||||
.init = ip6mr_net_init,
|
||||
.exit = ip6mr_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
int __init ip6_mr_init(void)
|
||||
|
||||
@@ -2997,7 +2997,6 @@ static void __net_exit igmp6_net_exit(struct net *net)
|
||||
static struct pernet_operations igmp6_net_ops = {
|
||||
.init = igmp6_net_init,
|
||||
.exit = igmp6_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
int __init igmp6_init(void)
|
||||
|
||||
@@ -1883,7 +1883,6 @@ static void __net_exit ndisc_net_exit(struct net *net)
|
||||
static struct pernet_operations ndisc_net_ops = {
|
||||
.init = ndisc_net_init,
|
||||
.exit = ndisc_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
int __init ndisc_init(void)
|
||||
|
||||
@@ -1928,7 +1928,6 @@ static void __net_exit ip6_tables_net_exit(struct net *net)
|
||||
static struct pernet_operations ip6_tables_net_ops = {
|
||||
.init = ip6_tables_net_init,
|
||||
.exit = ip6_tables_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init ip6_tables_init(void)
|
||||
|
||||
@@ -87,7 +87,6 @@ static void __net_exit ip6table_filter_net_exit(struct net *net)
|
||||
static struct pernet_operations ip6table_filter_net_ops = {
|
||||
.init = ip6table_filter_net_init,
|
||||
.exit = ip6table_filter_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init ip6table_filter_init(void)
|
||||
|
||||
@@ -107,7 +107,6 @@ static void __net_exit ip6table_mangle_net_exit(struct net *net)
|
||||
|
||||
static struct pernet_operations ip6table_mangle_net_ops = {
|
||||
.exit = ip6table_mangle_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init ip6table_mangle_init(void)
|
||||
|
||||
@@ -131,7 +131,6 @@ static void __net_exit ip6table_nat_net_exit(struct net *net)
|
||||
|
||||
static struct pernet_operations ip6table_nat_net_ops = {
|
||||
.exit = ip6table_nat_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init ip6table_nat_init(void)
|
||||
|
||||
@@ -75,7 +75,6 @@ static void __net_exit ip6table_raw_net_exit(struct net *net)
|
||||
|
||||
static struct pernet_operations ip6table_raw_net_ops = {
|
||||
.exit = ip6table_raw_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init ip6table_raw_init(void)
|
||||
|
||||
@@ -74,7 +74,6 @@ static void __net_exit ip6table_security_net_exit(struct net *net)
|
||||
|
||||
static struct pernet_operations ip6table_security_net_ops = {
|
||||
.exit = ip6table_security_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init ip6table_security_init(void)
|
||||
|
||||
@@ -401,7 +401,6 @@ static struct pernet_operations ipv6_net_ops = {
|
||||
.exit = ipv6_net_exit,
|
||||
.id = &conntrack6_net_id,
|
||||
.size = sizeof(struct conntrack6_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init nf_conntrack_l3proto_ipv6_init(void)
|
||||
|
||||
@@ -646,7 +646,6 @@ static void nf_ct_net_exit(struct net *net)
|
||||
static struct pernet_operations nf_ct_net_ops = {
|
||||
.init = nf_ct_net_init,
|
||||
.exit = nf_ct_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
int nf_ct_frag6_init(void)
|
||||
|
||||
@@ -103,7 +103,6 @@ static void __net_exit defrag6_net_exit(struct net *net)
|
||||
|
||||
static struct pernet_operations defrag6_net_ops = {
|
||||
.exit = defrag6_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init nf_defrag_init(void)
|
||||
|
||||
@@ -390,7 +390,6 @@ static void __net_exit nf_log_ipv6_net_exit(struct net *net)
|
||||
static struct pernet_operations nf_log_ipv6_net_ops = {
|
||||
.init = nf_log_ipv6_net_init,
|
||||
.exit = nf_log_ipv6_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init nf_log_ipv6_init(void)
|
||||
|
||||
@@ -240,7 +240,6 @@ static void __net_init ping_v6_proc_exit_net(struct net *net)
|
||||
static struct pernet_operations ping_v6_net_ops = {
|
||||
.init = ping_v6_proc_init_net,
|
||||
.exit = ping_v6_proc_exit_net,
|
||||
.async = true,
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
@@ -343,7 +343,6 @@ static void __net_exit ipv6_proc_exit_net(struct net *net)
|
||||
static struct pernet_operations ipv6_proc_ops = {
|
||||
.init = ipv6_proc_init_net,
|
||||
.exit = ipv6_proc_exit_net,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
int __init ipv6_misc_proc_init(void)
|
||||
|
||||
@@ -1332,7 +1332,6 @@ static void __net_exit raw6_exit_net(struct net *net)
|
||||
static struct pernet_operations raw6_net_ops = {
|
||||
.init = raw6_init_net,
|
||||
.exit = raw6_exit_net,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
int __init raw6_proc_init(void)
|
||||
|
||||
@@ -733,7 +733,6 @@ static void __net_exit ipv6_frags_exit_net(struct net *net)
|
||||
static struct pernet_operations ip6_frags_ops = {
|
||||
.init = ipv6_frags_init_net,
|
||||
.exit = ipv6_frags_exit_net,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
int __init ipv6_frag_init(void)
|
||||
|
||||
@@ -5083,7 +5083,6 @@ static void __net_exit ip6_route_net_exit_late(struct net *net)
|
||||
static struct pernet_operations ip6_route_net_ops = {
|
||||
.init = ip6_route_net_init,
|
||||
.exit = ip6_route_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __net_init ipv6_inetpeer_init(struct net *net)
|
||||
@@ -5109,13 +5108,11 @@ static void __net_exit ipv6_inetpeer_exit(struct net *net)
|
||||
static struct pernet_operations ipv6_inetpeer_ops = {
|
||||
.init = ipv6_inetpeer_init,
|
||||
.exit = ipv6_inetpeer_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static struct pernet_operations ip6_route_net_late_ops = {
|
||||
.init = ip6_route_net_init_late,
|
||||
.exit = ip6_route_net_exit_late,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static struct notifier_block ip6_route_dev_notifier = {
|
||||
|
||||
@@ -395,7 +395,6 @@ static void __net_exit seg6_net_exit(struct net *net)
|
||||
static struct pernet_operations ip6_segments_ops = {
|
||||
.init = seg6_net_init,
|
||||
.exit = seg6_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static const struct genl_ops seg6_genl_ops[] = {
|
||||
|
||||
@@ -1888,7 +1888,6 @@ static struct pernet_operations sit_net_ops = {
|
||||
.exit_batch = sit_exit_batch_net,
|
||||
.id = &sit_net_id,
|
||||
.size = sizeof(struct sit_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static void __exit sit_cleanup(void)
|
||||
|
||||
@@ -278,7 +278,6 @@ static void __net_exit ipv6_sysctl_net_exit(struct net *net)
|
||||
static struct pernet_operations ipv6_sysctl_net_ops = {
|
||||
.init = ipv6_sysctl_net_init,
|
||||
.exit = ipv6_sysctl_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static struct ctl_table_header *ip6_header;
|
||||
|
||||
@@ -2007,7 +2007,6 @@ static struct pernet_operations tcpv6_net_ops = {
|
||||
.init = tcpv6_net_init,
|
||||
.exit = tcpv6_net_exit,
|
||||
.exit_batch = tcpv6_net_exit_batch,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
int __init tcpv6_init(void)
|
||||
|
||||
@@ -123,7 +123,6 @@ static void __net_exit udplite6_proc_exit_net(struct net *net)
|
||||
static struct pernet_operations udplite6_net_ops = {
|
||||
.init = udplite6_proc_init_net,
|
||||
.exit = udplite6_proc_exit_net,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
int __init udplite6_proc_init(void)
|
||||
|
||||
@@ -400,7 +400,6 @@ static void __net_exit xfrm6_net_exit(struct net *net)
|
||||
static struct pernet_operations xfrm6_net_ops = {
|
||||
.init = xfrm6_net_init,
|
||||
.exit = xfrm6_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
int __init xfrm6_init(void)
|
||||
|
||||
@@ -353,7 +353,6 @@ static struct pernet_operations xfrm6_tunnel_net_ops = {
|
||||
.exit = xfrm6_tunnel_net_exit,
|
||||
.id = &xfrm6_tunnel_net_id,
|
||||
.size = sizeof(struct xfrm6_tunnel_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init xfrm6_tunnel_init(void)
|
||||
|
||||
Reference in New Issue
Block a user