From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4F01FCD13D8 for ; Mon, 18 Sep 2023 11:42:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241250AbjIRLly (ORCPT ); Mon, 18 Sep 2023 07:41:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241701AbjIRLlj (ORCPT ); Mon, 18 Sep 2023 07:41:39 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C80DFB3; Mon, 18 Sep 2023 04:41:33 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C3F2FC433C7; Mon, 18 Sep 2023 11:41:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695037293; bh=k5whRDb703pFSoW6vBuZiC/uLzAA5qCrmwIb0niMTaw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Aq8BDUPTeZUbSi6r80BUN/6MwH1BAmiHYY4SHfZ7onFlzdMGfEKZJql8eJgFd8kcU VSUGCximU6yLeulyz9sCP0KhTKpgfeEuARR1qg4bJb/2c3E2+Aaq/FI7E9KE3mXGPA mMkzDccqY/MfireMOZxTAFoqx04P3/eEENahXkm++IxXno8NknhrffAlyV8usX4nkg fRFkfnnveLguRIcv9+LTO4c7dt1uE+rem3E3BlUrXtrNJpo5JMLyLk57Bw4w+y0H+Q CpPUMugfzFQ2rqTkkxwCEL03tDYtT39/xBNsmqTbEmsL2yuFfD5IL+86z+BlChrW+f YsxfJTuf+MXoQ== Date: Mon, 18 Sep 2023 14:41:29 +0300 From: Leon Romanovsky To: Christoph Hellwig Cc: Christian Brauner , Al Viro , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Fenghua Yu , Reinette Chatre , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Dennis Dalessandro , Tejun Heo , Trond Myklebust , Anna Schumaker , Kees Cook , Damien Le Moal , Naohiro Aota , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, linux-rdma@vger.kernel.org, linux-nfs@vger.kernel.org, linux-hardening@vger.kernel.org, cgroups@vger.kernel.org Subject: Re: [PATCH 06/19] qibfs: use simple_release_fs Message-ID: <20230918114129.GA103601@unreal> References: <20230913111013.77623-1-hch@lst.de> <20230913111013.77623-7-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230913111013.77623-7-hch@lst.de> Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Wed, Sep 13, 2023 at 08:10:00AM -0300, Christoph Hellwig wrote: > qibfs currently has convoluted code to allow registering HCAs while qibfs > is not mounted and vice versa. Switch to using simple_release_fs every > time an entry is added to pin the fs instance and remove all the boiler > plate code. > > Signed-off-by: Christoph Hellwig > --- > drivers/infiniband/hw/qib/qib.h | 4 +- > drivers/infiniband/hw/qib/qib_fs.c | 105 ++++++--------------------- > drivers/infiniband/hw/qib/qib_init.c | 32 +++----- > 3 files changed, 36 insertions(+), 105 deletions(-) > Thanks, Reviewed-by: Leon Romanovsky