From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kirill Tkhai Subject: [PATCH net-next v1 4/4] net: Convert nfs4blocklayout_net_ops Date: Mon, 26 Mar 2018 12:29:13 +0300 Message-ID: <152205655318.6058.6892814027648399636.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-eopbgr20127.outbound.protection.outlook.com ([40.107.2.127]:17638 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751125AbeCZJ3R (ORCPT ); Mon, 26 Mar 2018 05:29:17 -0400 In-Reply-To: <152205594525.6058.12471686205983419325.stgit@localhost.localdomain> Sender: netdev-owner@vger.kernel.org List-ID: These pernet_operations create and destroy per-net pipe and dentry, and they seem safe to be marked as async. Signed-off-by: Kirill Tkhai Acked-by: Anna Schumaker --- fs/nfs/blocklayout/rpc_pipefs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/nfs/blocklayout/rpc_pipefs.c b/fs/nfs/blocklayout/rpc_pipefs.c index 9fb067a6f7e0..ef9fa111b009 100644 --- a/fs/nfs/blocklayout/rpc_pipefs.c +++ b/fs/nfs/blocklayout/rpc_pipefs.c @@ -261,6 +261,7 @@ static void nfs4blocklayout_net_exit(struct net *net) static struct pernet_operations nfs4blocklayout_net_ops = { .init = nfs4blocklayout_net_init, .exit = nfs4blocklayout_net_exit, + .async = true, }; int __init bl_init_pipefs(void)