From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kirill Tkhai Subject: [PATCH net-next v1 2/4] net: Convert sunrpc_net_ops Date: Mon, 26 Mar 2018 12:28:55 +0300 Message-ID: <152205653561.6058.2855893930095118351.stgit@localhost.localdomain> References: <152205594525.6058.12471686205983419325.stgit@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: davem@davemloft.net, anna.schumaker@netapp.com, trond.myklebust@primarydata.com, ktkhai@virtuozzo.com, netdev@vger.kernel.org Return-path: Received: from mail-eopbgr20119.outbound.protection.outlook.com ([40.107.2.119]:20461 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751793AbeCZJ3B (ORCPT ); Mon, 26 Mar 2018 05:29:01 -0400 In-Reply-To: <152205594525.6058.12471686205983419325.stgit@localhost.localdomain> Sender: netdev-owner@vger.kernel.org List-ID: 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 --- net/sunrpc/sunrpc_syms.c | 1 + 1 file changed, 1 insertion(+) 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