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 <h...@lst.de>