diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-03-26 12:29:04 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-26 13:03:26 -0400 |
commit | 436de500948e1176ef013468c2630f83bb72a901 (patch) | |
tree | f752e4989652ec789d41059a4b3e7d92364b7d15 /fs | |
parent | 5e804a6077dccf154047a1ffe5b5232dce579659 (diff) | |
download | linux-436de500948e1176ef013468c2630f83bb72a901.tar.bz2 |
net: Convert nfs4_dns_resolver_ops
These pernet_operations look similar to rpcsec_gss_net_ops,
they just create and destroy another cache. Also they create
and destroy directory. So, they also look safe to be async.
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Acked-by: Anna Schumaker <Anna.Schumaker@netapp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfs/dns_resolve.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/dns_resolve.c b/fs/nfs/dns_resolve.c index 060c658eab66..e90bd69ab653 100644 --- a/fs/nfs/dns_resolve.c +++ b/fs/nfs/dns_resolve.c @@ -410,6 +410,7 @@ static void nfs4_dns_net_exit(struct net *net) static struct pernet_operations nfs4_dns_resolver_ops = { .init = nfs4_dns_net_init, .exit = nfs4_dns_net_exit, + .async = true, }; static int rpc_pipefs_event(struct notifier_block *nb, unsigned long event, |