From: Kirill Tkhai Date: Mon, 26 Mar 2018 09:28:55 +0000 (+0300) Subject: net: Convert sunrpc_net_ops X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5e804a6077dccf154047a1ffe5b5232dce579659;p=linux.git 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 Acked-by: Anna Schumaker Signed-off-by: David S. Miller --- diff --git a/net/sunrpc/sunrpc_syms.c b/net/sunrpc/sunrpc_syms.c index 56f9eff74150d..68287e9218478 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