bdi: Rename cgwb_bdi_destroy() to cgwb_bdi_unregister()
authorJan Kara <jack@suse.cz>
Thu, 23 Mar 2017 00:36:59 +0000 (01:36 +0100)
committerJens Axboe <axboe@fb.com>
Thu, 23 Mar 2017 02:11:31 +0000 (20:11 -0600)
commitb1c51afc00f164457e126dcfc946fdd563948d26
tree6359e0d446e5dd05d4b19e90343e088a38411650
parent4514451e79ae5baabb85d22ba3523602e59d5218
bdi: Rename cgwb_bdi_destroy() to cgwb_bdi_unregister()

Rename cgwb_bdi_destroy() to cgwb_bdi_unregister() as it gets called
from bdi_unregister() which is not necessarily called from bdi_destroy()
and thus the name is somewhat misleading.

Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
mm/backing-dev.c