From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Date: Wed, 12 Apr 2017 01:16:41 -0700 Subject: [Cluster-devel] [PATCH 18/25] gfs2: Convert to properly refcounting bdi In-Reply-To: <20170329105623.18241-19-jack@suse.cz> References: <20170329105623.18241-1-jack@suse.cz> <20170329105623.18241-19-jack@suse.cz> Message-ID: <20170412081641.GR9830@infradead.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Wed, Mar 29, 2017 at 12:56:16PM +0200, Jan Kara wrote: > Similarly to set_bdev_super() GFS2 just used block device reference to > bdi. Convert it to properly getting bdi reference. The reference will > get automatically dropped on superblock destruction. Hmm, why iisn't gfs2 simply using the generic mount_bdev code? Otherwise looks fine: Reviewed-by: Christoph Hellwig