Commit 67441c24 authored by Kirill Tkhai's avatar Kirill Tkhai Committed by David S. Miller

net: Convert nfsd_net_ops

These pernet_operations look similar to rpcsec_gss_net_ops,
they just create and destroy another caches. So, they also
can be async.
Signed-off-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
Acked-by: default avatarJ. Bruce Fields <bfields@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cdcfeb0f
...@@ -1263,6 +1263,7 @@ static struct pernet_operations nfsd_net_ops = { ...@@ -1263,6 +1263,7 @@ static struct pernet_operations nfsd_net_ops = {
.exit = nfsd_exit_net, .exit = nfsd_exit_net,
.id = &nfsd_net_id, .id = &nfsd_net_id,
.size = sizeof(struct nfsd_net), .size = sizeof(struct nfsd_net),
.async = true,
}; };
static int __init init_nfsd(void) static int __init init_nfsd(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment