From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leon Romanovsky Subject: Re: [PATCH 06/19] qibfs: use simple_release_fs Date: Mon, 18 Sep 2023 14:41:29 +0300 Message-ID: <20230918114129.GA103601@unreal> References: <20230913111013.77623-1-hch@lst.de> <20230913111013.77623-7-hch@lst.de> Mime-Version: 1.0 Return-path: 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== List-Id: List-Subscribe: List-Unsubscribe: Content-Disposition: inline In-Reply-To: <20230913111013.77623-7-hch-jcswGhMUV9g@public.gmane.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-s390-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.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