Re: [PATCH v2] block: avoid incorrect bdi_unregiter call

2016-12-15 Thread Masayoshi Mizuma
Hi Jens, Could you add this patch for 4.10? - Masayoshi Mizuma On Fri, 2 Dec 2016 14:08:34 +0900 Masayoshi Mizuma wrote: > bdi_unregister() should be called after bdi_register() is called, > so we should check whether WB_registered flag is set. > > For example of the situation, error path in de

[PATCH v2] block: avoid incorrect bdi_unregiter call

2016-12-01 Thread Masayoshi Mizuma
bdi_unregister() should be called after bdi_register() is called, so we should check whether WB_registered flag is set. For example of the situation, error path in device driver may call blk_cleanup_queue() before the driver calls bdi_register(). Signed-off-by: Masayoshi Mizuma --- mm/backing-d