writeback: reorganize mm/backing-dev.c
authorTejun Heo <tj@kernel.org>
Fri, 22 May 2015 21:13:31 +0000 (17:13 -0400)
committerJens Axboe <axboe@fb.com>
Tue, 2 Jun 2015 14:33:34 +0000 (08:33 -0600)
commit4610007142823307d930ac890d822633a05ce08c
tree8352cf6e74dfea553680cd98f9039db5d1ebfc18
parentf0054bb1e1f3be03cc33369df640db97f10f6172
writeback: reorganize mm/backing-dev.c

Move wb_shutdown(), bdi_register(), bdi_register_dev(),
bdi_prune_sb(), bdi_remove_from_list() and bdi_unregister() so that
init / exit functions are grouped together.  This will make updating
init / exit paths for cgroup writeback support easier.

This is pure source file reorganization.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
mm/backing-dev.c