Re: [PATCH 05/24] fs: Get proper reference for s_bdi

2017-02-09 Thread Jan Kara
On Thu 09-02-17 16:36:13, Boaz Harrosh wrote: > On 02/02/2017 07:34 PM, Jan Kara wrote: > > So far we just relied on block device to hold a bdi reference for us > > while the filesystem is mounted. While that works perfectly fine, it is > > a bit awkward that we have a pointer to a refcounted

Re: [PATCH 05/24] fs: Get proper reference for s_bdi

2017-02-09 Thread Boaz Harrosh
On 02/02/2017 07:34 PM, Jan Kara wrote: > So far we just relied on block device to hold a bdi reference for us > while the filesystem is mounted. While that works perfectly fine, it is > a bit awkward that we have a pointer to a refcounted structure in the > superblock without proper reference. So

[PATCH 05/24] fs: Get proper reference for s_bdi

2017-02-02 Thread Jan Kara
So far we just relied on block device to hold a bdi reference for us while the filesystem is mounted. While that works perfectly fine, it is a bit awkward that we have a pointer to a refcounted structure in the superblock without proper reference. So make s_bdi hold a proper reference to block