Re: [PATCH 07/13] bdi: Move removal from bdi->wb_list into wb_shutdown()
From: Tejun Heo <tj@kernel.org>
Date: 2017-02-28 16:14:38
From: Tejun Heo <tj@kernel.org>
Date: 2017-02-28 16:14:38
On Tue, Feb 21, 2017 at 06:09:52PM +0100, Jan Kara wrote:
Currently the removal from bdi->wb_list happens directly in cgwb_release_workfn(). Move it to wb_shutdown() which is functionally equivalent and more logical (the list gets only used for distributing writeback works among bdi_writeback structures). It will also allow us to simplify writeback shutdown in cgwb_bdi_destroy(). Signed-off-by: Jan Kara <jack@suse.cz>
Acked-by: Tejun Heo <tj@kernel.org> Thanks. -- tejun