]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
net: Convert nfsd_net_ops
authorKirill Tkhai <ktkhai@virtuozzo.com>
Tue, 27 Mar 2018 15:01:51 +0000 (18:01 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Mar 2018 17:18:07 +0000 (13:18 -0400)
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 <ktkhai@virtuozzo.com>
Acked-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
fs/nfsd/nfsctl.c

index d107b4426f7eb15443188e8538c4b6e8e99d4fa8..1e3824e6cce0d9c1e52c4a2e602858ccbb49620a 100644 (file)
@@ -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)