diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-03-26 12:28:55 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-26 13:03:26 -0400 |
commit | 5e804a6077dccf154047a1ffe5b5232dce579659 (patch) | |
tree | 10e84a37378e85c6970ccb78ceee115f5a47f6d7 /net/sunrpc | |
parent | 855aeba34047f53e3665b0c3bcac80fe87ee2f7b (diff) | |
download | linux-5e804a6077dccf154047a1ffe5b5232dce579659.tar.bz2 |
net: Convert sunrpc_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: Anna Schumaker <Anna.Schumaker@netapp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/sunrpc_syms.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/sunrpc_syms.c b/net/sunrpc/sunrpc_syms.c index 56f9eff74150..68287e921847 100644 --- a/net/sunrpc/sunrpc_syms.c +++ b/net/sunrpc/sunrpc_syms.c @@ -79,6 +79,7 @@ static struct pernet_operations sunrpc_net_ops = { .exit = sunrpc_exit_net, .id = &sunrpc_net_id, .size = sizeof(struct sunrpc_net), + .async = true, }; static int __init |