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
@@ -1635,7 +1635,6 @@ static void __net_exit arp_tables_net_exit(struct net *net)
|
||||
static struct pernet_operations arp_tables_net_ops = {
|
||||
.init = arp_tables_net_init,
|
||||
.exit = arp_tables_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init arp_tables_init(void)
|
||||
|
||||
@@ -65,7 +65,6 @@ static void __net_exit arptable_filter_net_exit(struct net *net)
|
||||
|
||||
static struct pernet_operations arptable_filter_net_ops = {
|
||||
.exit = arptable_filter_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init arptable_filter_init(void)
|
||||
|
||||
@@ -1916,7 +1916,6 @@ static void __net_exit ip_tables_net_exit(struct net *net)
|
||||
static struct pernet_operations ip_tables_net_ops = {
|
||||
.init = ip_tables_net_init,
|
||||
.exit = ip_tables_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init ip_tables_init(void)
|
||||
|
||||
@@ -845,7 +845,6 @@ static struct pernet_operations clusterip_net_ops = {
|
||||
.exit = clusterip_net_exit,
|
||||
.id = &clusterip_net_id,
|
||||
.size = sizeof(struct clusterip_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init clusterip_tg_init(void)
|
||||
|
||||
@@ -87,7 +87,6 @@ static void __net_exit iptable_filter_net_exit(struct net *net)
|
||||
static struct pernet_operations iptable_filter_net_ops = {
|
||||
.init = iptable_filter_net_init,
|
||||
.exit = iptable_filter_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init iptable_filter_init(void)
|
||||
|
||||
@@ -113,7 +113,6 @@ static void __net_exit iptable_mangle_net_exit(struct net *net)
|
||||
|
||||
static struct pernet_operations iptable_mangle_net_ops = {
|
||||
.exit = iptable_mangle_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init iptable_mangle_init(void)
|
||||
|
||||
@@ -129,7 +129,6 @@ static void __net_exit iptable_nat_net_exit(struct net *net)
|
||||
|
||||
static struct pernet_operations iptable_nat_net_ops = {
|
||||
.exit = iptable_nat_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init iptable_nat_init(void)
|
||||
|
||||
@@ -76,7 +76,6 @@ static void __net_exit iptable_raw_net_exit(struct net *net)
|
||||
|
||||
static struct pernet_operations iptable_raw_net_ops = {
|
||||
.exit = iptable_raw_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init iptable_raw_init(void)
|
||||
|
||||
@@ -76,7 +76,6 @@ static void __net_exit iptable_security_net_exit(struct net *net)
|
||||
|
||||
static struct pernet_operations iptable_security_net_ops = {
|
||||
.exit = iptable_security_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init iptable_security_init(void)
|
||||
|
||||
@@ -399,7 +399,6 @@ static struct pernet_operations ipv4_net_ops = {
|
||||
.exit = ipv4_net_exit,
|
||||
.id = &conntrack4_net_id,
|
||||
.size = sizeof(struct conntrack4_net),
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init nf_conntrack_l3proto_ipv4_init(void)
|
||||
|
||||
@@ -118,7 +118,6 @@ static void __net_exit defrag4_net_exit(struct net *net)
|
||||
|
||||
static struct pernet_operations defrag4_net_ops = {
|
||||
.exit = defrag4_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init nf_defrag_init(void)
|
||||
|
||||
@@ -122,7 +122,6 @@ static void __net_exit nf_log_arp_net_exit(struct net *net)
|
||||
static struct pernet_operations nf_log_arp_net_ops = {
|
||||
.init = nf_log_arp_net_init,
|
||||
.exit = nf_log_arp_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init nf_log_arp_init(void)
|
||||
|
||||
@@ -358,7 +358,6 @@ static void __net_exit nf_log_ipv4_net_exit(struct net *net)
|
||||
static struct pernet_operations nf_log_ipv4_net_ops = {
|
||||
.init = nf_log_ipv4_net_init,
|
||||
.exit = nf_log_ipv4_net_exit,
|
||||
.async = true,
|
||||
};
|
||||
|
||||
static int __init nf_log_ipv4_init(void)
|
||||
|
||||
Reference in New Issue
Block a user