Re: [PATCH 19/25] nilfs2: Convert to properly refcounting bdi

2017-04-12 Thread Ryusuke Konishi
On 2017/04/12 19:24, Jan Kara wrote: Similarly to set_bdev_super() NILFS2 just used block device reference to bdi. Convert it to properly getting bdi reference. The reference will get automatically dropped on superblock destruction. CC: Ryusuke Konishi CC: linux-ni...@vger.kernel.org Reviewed-b

[PATCH 19/25] nilfs2: Convert to properly refcounting bdi

2017-04-12 Thread Jan Kara
Similarly to set_bdev_super() NILFS2 just used block device reference to bdi. Convert it to properly getting bdi reference. The reference will get automatically dropped on superblock destruction. CC: Ryusuke Konishi CC: linux-ni...@vger.kernel.org Reviewed-by: Christoph Hellwig Signed-off-by: Ja

Re: [PATCH 19/25] nilfs2: Convert to properly refcounting bdi

2017-04-12 Thread Jan Kara
On Wed 12-04-17 01:17:46, Christoph Hellwig wrote: > On Wed, Mar 29, 2017 at 12:56:17PM +0200, Jan Kara wrote: > > Similarly to set_bdev_super() NILFS2 just used block device reference to > > bdi. Convert it to properly getting bdi reference. The reference will > > get automatically dropped on supe

Re: [PATCH 19/25] nilfs2: Convert to properly refcounting bdi

2017-04-12 Thread Christoph Hellwig
On Wed, Mar 29, 2017 at 12:56:17PM +0200, Jan Kara wrote: > Similarly to set_bdev_super() NILFS2 just used block device reference to > bdi. Convert it to properly getting bdi reference. The reference will > get automatically dropped on superblock destruction. I really wish we could get rid of this

[PATCH 19/25] nilfs2: Convert to properly refcounting bdi

2017-03-29 Thread Jan Kara
Similarly to set_bdev_super() NILFS2 just used block device reference to bdi. Convert it to properly getting bdi reference. The reference will get automatically dropped on superblock destruction. CC: Ryusuke Konishi CC: linux-ni...@vger.kernel.org Signed-off-by: Jan Kara --- fs/nilfs2/super.c |