提交 67441c24 编写于 作者: K Kirill Tkhai 提交者: 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: NKirill Tkhai <ktkhai@virtuozzo.com>
Acked-by: NJ. Bruce Fields <bfields@redhat.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 cdcfeb0f
......@@ -1263,6 +1263,7 @@ static struct pernet_operations nfsd_net_ops = {
.exit = nfsd_exit_net,
.id = &nfsd_net_id,
.size = sizeof(struct nfsd_net),
.async = true,
};
static int __init init_nfsd(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册