diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-03-27 17:01:51 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-27 19:18:07 +0200 |
commit | 67441c2472ddd19f75ef900ac93e71543066f25e (patch) | |
tree | dd38573bcc7ba31fea38ce0840433e322a15920f | |
parent | net: mvpp2: Use relaxed I/O in data path (diff) | |
download | linux-67441c2472ddd19f75ef900ac93e71543066f25e.tar.xz linux-67441c2472ddd19f75ef900ac93e71543066f25e.zip |
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 <ktkhai@virtuozzo.com>
Acked-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | fs/nfsd/nfsctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index d107b4426f7e..1e3824e6cce0 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) |