From: Kirill Tkhai Date: Tue, 27 Mar 2018 15:01:51 +0000 (+0300) Subject: net: Convert nfsd_net_ops X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=67441c2472ddd19f75ef900ac93e71543066f25e;p=linux.git 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: Kirill Tkhai Acked-by: J. Bruce Fields Signed-off-by: David S. Miller --- diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index d107b4426f7eb..1e3824e6cce0d 100644 --- a/fs/nfsd/nfsctl.c +++ b/fs/nfsd/nfsctl.c @@ -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)