diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-03-27 11:02:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-27 13:18:09 -0400 |
commit | 2f635ceeb22ba13c307236d69795fbb29cfa3e7c (patch) | |
tree | fe8b187d1530a7e434aecaf2d5a9565247f0263e /net/core/net_namespace.c | |
parent | 094374e5e173c6639eccf6a2af5e1357a0869848 (diff) |
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>
Diffstat (limited to 'net/core/net_namespace.c')
-rw-r--r-- | net/core/net_namespace.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c index 0f614523a13f..eef17ad29dea 100644 --- a/net/core/net_namespace.c +++ b/net/core/net_namespace.c | |||
@@ -338,7 +338,6 @@ static int __net_init net_defaults_init_net(struct net *net) | |||
338 | 338 | ||
339 | static struct pernet_operations net_defaults_ops = { | 339 | static struct pernet_operations net_defaults_ops = { |
340 | .init = net_defaults_init_net, | 340 | .init = net_defaults_init_net, |
341 | .async = true, | ||
342 | }; | 341 | }; |
343 | 342 | ||
344 | static __init int net_defaults_init(void) | 343 | static __init int net_defaults_init(void) |
@@ -628,7 +627,6 @@ static __net_exit void net_ns_net_exit(struct net *net) | |||
628 | static struct pernet_operations __net_initdata net_ns_ops = { | 627 | static struct pernet_operations __net_initdata net_ns_ops = { |
629 | .init = net_ns_net_init, | 628 | .init = net_ns_net_init, |
630 | .exit = net_ns_net_exit, | 629 | .exit = net_ns_net_exit, |
631 | .async = true, | ||
632 | }; | 630 | }; |
633 | 631 | ||
634 | static const struct nla_policy rtnl_net_policy[NETNSA_MAX + 1] = { | 632 | static const struct nla_policy rtnl_net_policy[NETNSA_MAX + 1] = { |