Re: [PATCH 1/4] bdi: add check for bdi_debug_root

2017-10-31 Thread weiping zhang
On Mon, Oct 30, 2017 at 02:00:28PM +0100, Jan Kara wrote: > On Fri 27-10-17 01:35:36, weiping zhang wrote: > > this patch add a check for bdi_debug_root and do error handle for it. > > we should make sure it was created success, otherwise when add new > > block device's bdi folder(eg, 8:0) will be

Re: [PATCH 1/4] bdi: add check for bdi_debug_root

2017-10-30 Thread Jan Kara
On Fri 27-10-17 01:35:36, weiping zhang wrote: > this patch add a check for bdi_debug_root and do error handle for it. > we should make sure it was created success, otherwise when add new > block device's bdi folder(eg, 8:0) will be create a debugfs root directory. > > Signed-off-by: weiping

[PATCH 1/4] bdi: add check for bdi_debug_root

2017-10-26 Thread weiping zhang
this patch add a check for bdi_debug_root and do error handle for it. we should make sure it was created success, otherwise when add new block device's bdi folder(eg, 8:0) will be create a debugfs root directory. Signed-off-by: weiping zhang --- mm/backing-dev.c |