From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kirill Tkhai Subject: [PATCH net-next 1/5] net: Convert nfsd_net_ops Date: Tue, 27 Mar 2018 18:01:51 +0300 Message-ID: <152216291142.1634.10306086290188924726.stgit@localhost.localdomain> References: <152216238129.1634.4807322431520445566.stgit@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: davem@davemloft.net, ktkhai@virtuozzo.com, nicolas.dichtel@6wind.com, vyasevic@redhat.com, paulmck@linux.vnet.ibm.com, vyasevich@gmail.com, mark.rutland@arm.com, leonro@mellanox.com, avagin@virtuozzo.com, fw@strlen.de, ebiederm@xmission.com, roman.kapl@sysgo.com, dsahern@gmail.com, netdev@vger.kernel.org, bfields@fieldses.org Return-path: Received: from mail-he1eur01on0106.outbound.protection.outlook.com ([104.47.0.106]:51519 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751045AbeC0PB7 (ORCPT ); Tue, 27 Mar 2018 11:01:59 -0400 In-Reply-To: <152216238129.1634.4807322431520445566.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: J. Bruce Fields --- fs/nfsd/nfsctl.c | 1 + 1 file changed, 1 insertion(+) 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)