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
@@ -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 = {
|
||||
|
Reference in New Issue
Block a user