On 12/01/2016 01:45 AM, Masayoshi Mizuma wrote:
> blk_cleanup_queue() should call bdi_unregister() only if WB_registered
> is set to bdi->wb.state. Because, blk_cleanup_queue() may be called
> before bdi_register() is called, for example, error path.

Should this logic be in bdi_unregister() instead?

-- 
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-block" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to